想比較兩個檔案中不同的"行數" - BBS
By Olga
at 2006-10-03T23:10
at 2006-10-03T23:10
Table of Contents
用 diff 的話,會把不同的行的"內容"丟出來,要不然就是只告訴我
"兩個檔案不一樣"
但是我想要取得的是,兩個檔案中不同的"行"的數量...@@
請問有現有的指令可以用嗎??
---
diff 的 see also 列了幾個 像是 diff3 , comm 可是好像都不是我要的...
---
pipe 去給 wc -l 的話,要是diff輸出一行的內容超過螢幕被斷成兩行三行的話,
wc -l 也就回給我兩行三行...好像不太有用 ....
----
感謝您的指教 m(_._)m
--
And they... Will dance if they want to dance Please brother take a chance
You know they're gonna go Which way they wanna go
All we know is that we don't know
What is gonna be Please brother let it be
Life on the other hand won't let you understand
Why we're all part of the masterplan _
--
Tags:
BBS
All Comments
Related Posts
請問取得5.1 /usr/libexec/ld-elf.so.1的方法
By Skylar Davis
at 2006-10-03T18:38
at 2006-10-03T18:38
server資料轉移
By Donna
at 2006-10-03T18:26
at 2006-10-03T18:26
6.1版make kernel的問題
By Xanthe
at 2006-10-03T16:53
at 2006-10-03T16:53
server資料轉移
By Damian
at 2006-10-03T13:05
at 2006-10-03T13:05
server資料轉移
By Tracy
at 2006-10-02T23:45
at 2006-10-02T23:45