In Process Substitution what is the difference between >(command_list)
and <(command_list)
as both return a file name stored in /dev/fd
?
In Process Substitution what is the difference between >(command_list)
and <(command_list)
as both return a file name stored in /dev/fd
?
If the >(list) form is used, writing to the file will provide input for list and if the <(list) form is used, the file passed as an argument should be read to obtain the output of list. Hope this will help.