[問題] xargs command 的問題

看板Linux作者 (啪)時間15年前 (2010/10/26 02:00), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CnSN6yw (Linux)