![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find and replace command in one line using one command | vasikaran | UNIX for Dummies Questions & Answers | 10 | 08-20-2008 07:40 AM |
| How to replace one line with three in sed | ch0sen | Shell Programming and Scripting | 6 | 03-05-2008 08:08 AM |
| Need to replace the first word of a line if it occurs again in the next line(shell) | geeko | Shell Programming and Scripting | 1 | 09-25-2007 07:15 AM |
| sed - Replace Line which contains the Pattern match with a new line | kousikan | Shell Programming and Scripting | 2 | 03-24-2007 03:24 AM |
| find a shell and replace the line | jvellon | UNIX for Advanced & Expert Users | 1 | 06-13-2006 05:44 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Find and replace some line
Hi all
I have a file which has n no. of lines. I want to find string called "John" and add 5 lines below the string. Help me to do it using script? |
| Forum Sponsor | ||
|
|