我想用命令来计数主目录中的所有普通文件:xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 optionxargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
使用有什么问题吗?
我正在尝试将linux shell脚本的功能移植到Windows ant build.xml。在linux脚本中,我停留在这一行,其中$*是一个文件列表(*.txt):所以现在,在ant中,我正在传递以空格分隔的文件名列表,但是ant java任务认为这只是一个文件名,所以它会卡住。有没有办法传入*.txt,这样我就不必在一个单独的嵌