-2
需要使用bash来执行Perl脚本的替代参数。 我有在这样的宝石运行的脚本:需要替代参数使用bash执行珍珠脚本
./script.pl "URL"
我需要替换“URL”替换使用bash.Thank你的文件的价值。
需要使用bash来执行Perl脚本的替代参数。 我有在这样的宝石运行的脚本:需要替代参数使用bash执行珍珠脚本
./script.pl "URL"
我需要替换“URL”替换使用bash.Thank你的文件的价值。
./script.pl "$(cat file)"
或
./script.pl "$(< file)"
或
<file xargs ./script.pl
或
xargs -a file ./script.pl