![]() |
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 |
| from - to delimiter | bighippo | Shell Programming and Scripting | 6 | 03-13-2008 02:47 AM |
| awk,nawk,sed, delimiter |~| | knijjar | Shell Programming and Scripting | 7 | 02-19-2008 02:38 AM |
| replace the last delimiter | jisha | Shell Programming and Scripting | 4 | 01-28-2008 06:26 AM |
| Cut date using y hat as delimiter | tekster757 | UNIX for Advanced & Expert Users | 1 | 07-31-2007 02:14 PM |
| \r as delimiter in cut | shweta_d | Shell Programming and Scripting | 5 | 06-07-2007 09:18 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Dear all,
i have a proble. in my input file i have records with delimiter like aa-------bb------cc--vghjav---ef----kjd dj--------ih------yy--ujdjkkl---dd----jid now i want to replace the delimiter "-" with "~" i have used a command i.e cat FILENAME | tr "-" "~" >> Newfile this command replacing the input delimiter one by one like aa~~~~~~~bb~~~~~~cc~~vghjav~~~ef~~~~kjd dj~~~~~~~ih~~~~~~yy~~ujdjkkl~~~dd~~~~jid but the output i want is aa~bb~cc~vghjav~ef~kjd dj~ih~yy~ujdjkkl~dd~jid like this can any one please help me out regarding this problem? Regards, Pankaj |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|