说,我有一个foo.txt指定N参数的文件
foo.txt
N
arg1 arg2 ... argN
我需要传递给命令 my_command
my_command
如何使用文件的行作为命令的参数?
unix linux shell command-line command-line-arguments
command-line ×1
command-line-arguments ×1
linux ×1
shell ×1
unix ×1