Tagged Questions
6
votes
2answers
3k views
Passing two arguments to a command using pipes
Usually, we only need to pass one argument:
echo abc | cat
echo abc | cat some_file -
echo abc | cat - some_file
Is there a way to pass two arguments? Something like
{echo abc , echo xyz} | cat
...