Thursday, January 15, 2015

what can grep do for you?

a lot actually. suppose you want to see what lines are the same in a file. here's how to do it: fgrep -xf file1 file2 > file3
file3
is what is the same. and now you know.

No comments: