The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Replace line with Nothing
.
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
:
Replace line with Nothing
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
09-01-2008
dennis.jacob
dj - the student
Join Date: Feb 2007
Location: Singapore/Bangalore/Cochin
Posts: 607
Code:
while read line do
perl
-i -ne 's/'$line'//g; print; ' filename done < abc
dennis.jacob
View Public Profile
Find all posts by dennis.jacob
Find dennis.jacob's past nominations received
Find dennis.jacob's present nominations given