![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Adding a columnfrom a specifit line number to a specific line number | Ezy | Shell Programming and Scripting | 2 | 05-12-2008 08:29 AM |
| Insert a line | aajan | UNIX for Advanced & Expert Users | 5 | 08-20-2007 01:49 AM |
| how to insert a line number on every line | mopimp | UNIX for Dummies Questions & Answers | 3 | 03-25-2006 01:35 PM |
| insert a line in a file | RishiPahuja | Shell Programming and Scripting | 7 | 06-22-2005 03:47 AM |
| Insert a line as the first line into a very huge file | shriek | UNIX for Advanced & Expert Users | 3 | 03-09-2005 01:22 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
insert a line after specific line
Hii,
I have a file like this-- Quote:
Thanks |
|
||||
|
|
|
||||
|
Hi,
if input is givenName: Anandmohan mail: anand_ms@thbs.com mobile: 9986010455 o: Torry Harris ou: null physicalDeliveryOfficeName: ST-6th Floor sn: Singh o/p should be givenName: Anandmohan mail: anand_ms@thbs.com mobile: 9986010455 --o: Torry arris Business Solutions ou: null physicalDeliveryOfficeName: ST-6th Floor sn: Singh Am I Right. If not send a sample output Thanks Penchal |
|
||||
|
This file is very big infact, if i start doing it with VI it will consume plenty of time.
Yes penchal u r right about the output,one more thing there are places after mobile number where the line is not there we need to insert the line there. Thanks |
|
||||
|
What does 1 signifies here.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|