$ some_command > >(/bin/cmd_for_stdout) 2> >(/bin/cmd_for_stderr)
You can use [n]> combined with >(cmd) to attach the various output file descriptors to be the input of different commands.
by David Winterbottom (codeinthehole.com)
$ some_command > >(/bin/cmd_for_stdout) 2> >(/bin/cmd_for_stderr)
You can use [n]> combined with >(cmd) to attach the various output file descriptors to be the input of different commands.
by David Winterbottom (codeinthehole.com)
0sem comentários ainda