__piper

Langue: en

Version: 303371 (debian - 07/07/09)

Section: 8 (Commandes administrateur)

NAME

__piper - create commands pipes without the overhead of shells

This program has no potential use for administrators or users
This program is part of afbackup-client
 

SYNOPSIS

__piper [ command [ args ] [ "|" command [ args ] [ "|" ... ] ] ]  

DESCRIPTION

This program simply gets one or more commands separated by the pipe symbol "|" as arguments. When called from a shell command line or in any situation, where the whole command is interpreted by a shell, the bar "|" has to be escaped from interpretation, either by preceding it with a backslash "


This program is part of afbackup-client

 

EXAMPLES

The arguments are chained (separated by single spaces each) and then separated at word boundaries. If an argument should contain whitespace, it must be double-quoted. The whole command pipeline may be put into one single argument, so in a shell the following is ok:

__piper 'echo "Hello lots of space" | sed "s/ts of/st in/g"'

Double quotes, the pipe symbol and the backslash itself may be escaped by a preceding backslash "The advantage using this program instead of a shell with the -c option should be a much faster startup of the whole pipeline. This is useful in the process- and uncrosses commands of the client side of afbackup.  

SEE ALSO

afclient(8), xafclientconfig(8), full_backup(8), incr_backup(8), afverify(8), afrestore(8), xafrestore(8), afserver(8), afmserver(8), copy_tape(8), afclient.conf(8), update_indexes(8)  

AUTHOR

This manual page was written by Rene Mayorga <rmayorga@debian.org.sv> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.
 

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.