xargs command 的問題 - Linux

By Mia
at 2010-10-26T02:00
at 2010-10-26T02:00
Table of Contents
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 "-" 後面那段換成一個單一檔案的時候
卻又可以了?
--
-type f -exec wc -l "{}" \;
OS_LAB2 是一個資料夾 裡面有些文字檔案
為什麼這個指令會無法執行呢?
usage: comm [-123] file1 file2
xargs: Child killed with signal 13
這是UNIX給的錯誤
但當我把comm -3 "-" 後面那段換成一個單一檔案的時候
卻又可以了?
--
Tags:
Linux
All Comments
Related Posts
gnome 自動登入時要輸入鑰匙圈密碼

By Margaret
at 2010-10-25T20:55
at 2010-10-25T20:55
有關於LVM的問題

By Noah
at 2010-10-25T20:15
at 2010-10-25T20:15
fdisk 之 磁頭/柱面/磁區 的奧義

By Olga
at 2010-10-25T18:10
at 2010-10-25T18:10
share library 如何讓process共用

By Emily
at 2010-10-25T17:24
at 2010-10-25T17:24
如何讓X11端的剪貼簿跟本地端共用

By Ula
at 2010-10-25T16:00
at 2010-10-25T16:00