使用道具 举报
Post by shizi4838 用命令: cat a | xargs a.sh其中a.sh所在目录要被包含到环境变量PATH中,如果没有包含,请在a.sh所在目录下使用 cat a| xargs ./a.sh。
Post by yongjian yep, xargs works perfectly.
Post by yongjian that's good! but I think he was asking how to use "pipe".
本版积分规则 发表回复 回帖后跳转到最后一页