![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sed remove last 10 characters of a line start from 3rd line | minifish | Shell Programming and Scripting | 7 | 03-26-2008 04:42 PM |
| SED help (remove line::parse again::add line) | Malumake | Shell Programming and Scripting | 6 | 10-24-2007 06:02 PM |
| Remove header(first line) and trailer(last line) in ANY given file | madhunk | Shell Programming and Scripting | 2 | 03-13-2006 03:36 PM |
| Remove first 15 line | bobo | UNIX for Dummies Questions & Answers | 6 | 01-30-2006 09:26 PM |
| find, remove, and ftp...... | peter.herlihy | UNIX for Dummies Questions & Answers | 1 | 06-25-2002 07:51 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
go throuugh, find and remove line
I have a file which I want to go through with a list of strings. When a string in the file is found, the whole row, where the string was found, sholud be removed. Then, the file should be serched for the next string in the list...
I did like this: while read ORDERBOOKS; do grep -iv $ORDERBOOKS file.txt > ProteusNew.xml done < orderBooks.txt but then, it only solves the problem fore the last string in ORDERBOOKS, which is a list of with collum. Anyone?? Please! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|