The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Make sed ignore lines
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Make sed ignore lines
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
07-21-2005
vino
Supporter (in vino veritas)
Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
For all lines which does not contain
rshscripts
Code:
sed
-e "!/.*rshscripts.*/p" -e "/\(.*scripts\)/$BUSINESS_SCRIPTS/g"
Not tested tho'.
Vino
vino
View Public Profile
Find all posts by vino
Find vino's past nominations received
Find vino's present nominations given