This is a discussion on find a word in a file, and change a word beneath it ?? within the Shell scripting forums, part of the Development/Scripting category; Hi all, I have a file with lines written somewhat like this. Code: aaaa ccc aa linux browse = no ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hi all,
I have a file with lines written somewhat like this. Code:
aaaa ccc aa linux browse = no xssxw cdcedc dcsdcd csdw police dwed dwd browse = no cdecec dsdc cdc wd wdcew dwed market browse = yes dwdw wedwe we and then change the line from browse = no to browse = yes which is after two lines from the word police. Pls help... I am not so advanced in scripting. Thanks in advance, Vikas |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To find and replace in text file | nashtech | Shell scripting | 3 | 07-31-2008 06:46 PM |
| word search in file | chandanperl | Coding in General | 2 | 03-11-2008 10:16 AM |
| can not find the username in /etc/passwd file | subrata1in | Getting started tutorials | 5 | 03-27-2007 11:45 AM |
| can not find user name in /etc/passwd file | subrata1in | Linux software | 2 | 03-26-2007 10:44 AM |
| user pass word | sparky | Shell scripting | 1 | 06-26-2006 07:19 PM |