How to group bash command into one function?
Here is what I am trying to achieve. I want to run a sequence of commands
on that file, so for example
ls * | xargs (cat - | calculateforfile)
I want to run (cat | calculateforthisfile) on each of the file separately.
So basically, how to group a list of commands as if it is one single
function?
No comments:
Post a Comment