![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do i remove commas(,) & spaces | anushree.a | Linux | 5 | 05-25-2008 11:39 PM |
| remove spaces btw | tjmannonline | UNIX for Dummies Questions & Answers | 7 | 05-25-2008 11:35 PM |
| Remove spaces from columns | jacks | Shell Programming and Scripting | 2 | 01-18-2008 06:08 AM |
| need help to remove spaces from first column | tayyabq8 | Shell Programming and Scripting | 4 | 01-28-2006 12:40 AM |
| how to remove spaces in a string using sed. | radhika | Shell Programming and Scripting | 4 | 06-02-2005 12:00 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Remove spaces between charc and replace it with ','.
Hi,
Below is my output file: (The below line has multiple spaces bet charc and I want to replace spaces with "," only for the first line) NYCCMS97KJ931 01-JUN-08 1214957 I want this to be: NYCCMS97KJ931, 01-JUN-08, 1214957 Thanks in advance. |
| Forum Sponsor | ||
|
|
|
|||
|
This is showing my output like:
NYCCMS97KJ931, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , 01-JUN-08, , , , 1214957 I just want to replace all the spaces with one ",". Thanks. |