![]() |
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 |
| Replace the file using sed | senthil_is | Shell Programming and Scripting | 5 | 11-20-2008 07:58 AM |
| replace nth value in xml file | subin_bala | Shell Programming and Scripting | 4 | 06-18-2008 02:39 PM |
| replace words in file based on another file | kinmak | Shell Programming and Scripting | 9 | 05-07-2008 05:06 AM |
| Replace word in a file | sasiharitha | UNIX for Dummies Questions & Answers | 3 | 12-05-2007 01:11 AM |
| serach and replace file name in the path in a remote xml file | kiranreddy1215 | Shell Programming and Scripting | 1 | 11-12-2007 11:31 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Did Not Work
awk 'BEGIN{FS="|"}{$19="USD";$0=$0;print}' file is giving me an error
$ awk 'BEGIN{FS="|"}{$19="USD";$0=$0;print}' US_RETAIL_WIRE_TRANS_20070504_00.TST awk: can't set $0 record number 1 The next one awk -F'|' '{$19="USD"; print}' inputfile is removing all of the pipes. The sed command worked though. Thanks for your help |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|