Monday 14 August 2017

Bash Process Substitution

Cited from the Book "Pro Bash Programming"

Process substitution creates a temporary filename for a command or list of commands. You can use it anywhere a file name is expected. The form <(command) makes the output of command available as a file name; >(command) is a file name that can be written to.

sa <(ls -l) >(pr -Tn)

No comments:

Post a Comment