PIPE(7) | Miscellaneous Information Manual | PIPE(7) |
pipe
— process
sequential connected blocks
module:pipe pipe:n pipe-1{ # automate block } # ... pipe-n{ # automate block }
pipe
module processes a series of connected blocks
sequentially. It creates a chain of n
pipes, where
n
is specified by the “pipe” variable.
For each pipe in the chain, the module invokes automate(1)
to process the corresponding block.
The blocks are processed in order from “pipe-1” to
“pipe-n
”, with the output of one block
feeding into the input of the next block in the chain.
AUTOMATE_ETC_DIR
The pipe
utility exits 0 on
success, and >0 if an error occurs.
To create a file from a macro and indent:
code.c{ output:$3 module:pipe pipe:2 pipe-1{ command:m4 code.m4 } pipe-2{ command:indent -st } }
October 8, 2024 | EltaninOS |