[問題] xargs command 的問題
find './OS_LAB2/' -type f -print | xargs wc -l| comm -3 "-" find './OS_LAB/'
-type f -exec wc -l "{}" \;
OS_LAB2 是一個資料夾 裡面有些文字檔案
為什麼這個指令會無法執行呢?
usage: comm [-123] file1 file2
xargs: Child killed with signal 13
這是UNIX給的錯誤
但當我把comm -3 "-" 後面那段換成一個單一檔案的時候
卻又可以了?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 207.237.48.148