execpipe.1 (766B)
1 .TH execpipe 1 "2018-07-16" "version 0.1" "USER COMMANDS" 2 .SH NAME 3 execpipe - execute shell programs piped together, i.e. glued together by stdout to stdin 4 .SH SYNPOSIS 5 .B execpipe 6 [commands...] 7 .SH DESCRIPTION 8 This command executes every argument as a shell script, and pipes them together 9 via stdin to stdout. This is mainly useful, because the shell executing the piped 10 commands does not have to fork to do this. 11 .PP 12 It is intended for use with the daemontools logging, where we can execute a complex 13 chain of filters before passing it to multilog. 14 .SH EXAMPLES 15 .TP 16 Filter out the third column in every line before logging it: 17 .B execpipe 18 \'exec awk "{\\$3=\\"\\"; print \\$0}"\' 19 \'exec multilog t ./main\' 20 .SH AUTHOR 21 Dominik Schmidt (domischmidt@swissonline.ch)