![]() |
|
|
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 |
| search for a string ,replace the whole line with new line | kkraja | Shell Programming and Scripting | 4 | 08-07-2008 03:26 AM |
| To cut end string from line | visu | Shell Programming and Scripting | 7 | 12-21-2007 02:22 AM |
| get the NF of a string line | ozzman | Shell Programming and Scripting | 5 | 02-02-2007 01:01 AM |
| How I Can get String From the Line | habuzahra | UNIX for Dummies Questions & Answers | 2 | 10-29-2006 07:55 AM |
| Add string after line X | alienET | Shell Programming and Scripting | 2 | 10-13-2005 10:52 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
hi
i have file, from that file i am reading line by line if the line contains "Change state" i need to send to a file, i am using grep "Change state" $file > newfile but if any line in file does not contain "Change state" then i am getting "No such file or directory" please suggest thanks Satya |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|