2011-01-07 66 views

回答

1

如果要列出所有在文件1行,但不是在文件2,你可以這樣做:

diff file1 file2 | grep "^<" | sed "s/^< //" > file3