__piper(8) create commands pipes without the overhead of shells

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.

AUTHOR

This manual page was written by Rene Mayorga <[email protected]> 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.