The UNIX and Linux Forums
>
Top Forums
>
UNIX for Advanced & Expert Users
exclude multiple records
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
exclude multiple records
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
04-29-2008
SAV
Registered User
Join Date: Nov 2007
Location: Russia, Nizhniy Novgorod
Posts: 3
try egrep.
it can eat regular expressions
for your case:
egrep -v "001277720[12]" a.txt
or
egrep -v "00127772011|00127772012" a.txt
SAV
View Public Profile
Find all posts by SAV