Linux / UNIX Tech Support Forum
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 ...
|
|||||||
| Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 | ||
|
|
![]() |
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 | 5 | 31-01-2010 06:32 AM |
| word search in file | chandanperl | Coding in General | 2 | 11-03-2008 10:16 AM |
| can not find the username in /etc/passwd file | subrata1in | Getting started tutorials | 5 | 27-03-2007 11:45 AM |
| can not find user name in /etc/passwd file | subrata1in | Linux software | 2 | 26-03-2007 10:44 AM |
| user pass word | sparky | Shell scripting | 1 | 26-06-2006 07:19 PM |