|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | 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 !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
awk: multiple gsub in a script
%%%%%
Last edited by lucasvs; 05-01-2012 at 05:17 AM.. |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
There is one closing brace missing. It may be that your input file differs from your sample, for example, when it contains some tabs instead of spaces. What happens when you cut and paste your example back into a new file and test on that?
|
| The Following User Says Thank You to Scrutinizer For This Useful Post: | ||
lucasvs (03-25-2012) | ||
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script to find & replace a multiple lines string across multiple php files and subdirectories | spfc_dmt | Shell Programming and Scripting | 12 | 03-07-2012 09:05 AM |
| awk + gsub to search multiple input values & replace with located string + extra text | dazhoop | Shell Programming and Scripting | 2 | 01-24-2012 01:12 PM |
| Awk script gsub optimization | Akshay | Shell Programming and Scripting | 6 | 08-31-2010 10:04 AM |
| Help with AWK and gsub | npolite | Shell Programming and Scripting | 4 | 11-15-2007 03:21 PM |
| use var in gsub of awk | summer_cherry | Shell Programming and Scripting | 1 | 10-15-2007 05:01 AM |
|
|