I like to use xargs
instead of while
. xargs
is powerful and command line friendly
cat peptides.txt | xargs -I % sh -c "echo %"
With xargs
, you can also add verbosity with -t
and validation with -p
I like to use xargs
instead of while
. xargs
is powerful and command line friendly
cat peptides.txt | xargs -I % sh -c "echo %"
With xargs
, you can also add verbosity with -t
and validation with -p