linux - Requires substitute arguments to perform a pearl script using bash -
requires substitute arguments perform perl script using bash. have script runs on gem this:
./script.pl "url"
i needed substitute "url" substitute value of file using bash.thank you.
./script.pl "$( cat file )"
or
./script.pl "$(< file )"
or
<file xargs ./script.pl
or
xargs -a file ./script.pl
Comments
Post a Comment