I have a file A with content like this:
/filea
/fileb
/filec
/filed
And I have a script xyz.pl to read one file and do something with it
Now I want to provide each of the line in file A as argument to xyz.pl automatically. Effectively following commands are execute (in that order)
xyz.pl /filea
xyz.pl /fileb
xyz.pl /filec
xyz.pl /filed
Is there any quick one-liner-command to do that ?
Use xargs with -n option