![]() |
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 |
| Perl: Search for string on line then search and replace text | Crypto | Shell Programming and Scripting | 4 | 01-04-2008 10:24 AM |
| Need help with search & replace | tcovert | Shell Programming and Scripting | 8 | 09-03-2006 08:11 PM |
| how to search for a str and replace it.. | sekar sundaram | Shell Programming and Scripting | 6 | 12-29-2005 06:11 PM |
| Search and replace sed or tr | bridgeje | Shell Programming and Scripting | 6 | 10-28-2003 07:54 AM |
| search and Replace | mukeshannamalai | UNIX for Advanced & Expert Users | 4 | 09-14-2001 06:21 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Search n replace...
Hi,
Can anyone help me with the command to do the following search and replace 209560100000003-000002590688F402 0020031028210 209560100000003-000002590688W302 0040031028210 search and replace anything that has "F4” in column 30 with ‘W3’ and copy line into new file if the next line already correct then copy it into new file any help on how to get this to work. I am new to this and I tried a few changes in the awk code but did not work. Thanks for any help |
| Bookmarks |
| Tags |
| awk substr |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|