skip to main
|
skip to sidebar
Tuesday, 6 November 2012
Remove lines from file 1 that are in fiel 2
grep -v -x -f f2 f1 should do the trick.
With some explanations:
-v for select non-matching lines
-x for matching whole lines only
-f f2 to get patterns from f2.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
feckbox
Followers
Blog Archive
►
2013
(3)
►
July
(1)
►
April
(1)
►
February
(1)
▼
2012
(8)
▼
November
(2)
Remove lines from file 1 that are in fiel 2
sgrep like a player
►
October
(1)
►
May
(2)
►
February
(2)
►
January
(1)
►
2011
(8)
►
December
(1)
►
November
(1)
►
October
(1)
►
August
(3)
►
February
(2)
►
2010
(1)
►
May
(1)
►
2009
(9)
►
September
(1)
►
June
(1)
►
May
(3)
►
April
(4)
About Me
Oddbodbloke
View my complete profile
No comments:
Post a Comment