![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to insert a character in line in Special condition? | bhaskar_m | Shell Programming and Scripting | 8 | 04-24-2009 08:45 AM |
| How to insert and delete any line after desire line | RahulJoshi | Shell Programming and Scripting | 4 | 10-20-2008 10:27 AM |
| How can I insert character to end of file? | umen | UNIX for Dummies Questions & Answers | 1 | 01-29-2008 07:47 AM |
| awk insert character in the middle of a line | mmarino | Shell Programming and Scripting | 3 | 11-18-2005 12:00 PM |
| Edit and insert character in a text file | negixx | Shell Programming and Scripting | 3 | 06-10-2005 01:36 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi All,
I have below type file. abc|asd|pqr|2|2|2 asc|qwe|scf|5|4|4 Pipe location and count is dynamic and coming from a variable. I want to change it to below files. (chnage the first pipe to 3 pipes) abc|||asd|pqr|2|2|2 asc|||qwe|scf|5|4|4 (chnage the second pipe to 4 pipes) abc|asd||||pqr|2|2|2 asc|qwe||||scf|5|4|4 It should be dynamic. ![]() Thanks, SWAT |