__piper(8)

__piper8

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

Usage

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

Overview

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.

Releases

3 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 5.0–6.0

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.

From afbackup-client 3.5.3-3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.