Is there a "perl" way to do this - still using diff as an external command, but another way to do the redirection?diff <(echo -e "oranges") <(echo -e "apples") 1c1 < oranges --- > apples
In reply to redirect output from a command to another command by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |