![]() |
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 |
| 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Two or more white spaces in string | harish_oty | Shell Programming and Scripting | 2 | 10-04-2006 03:29 AM |
| trimming white spaces | briskbaby | Shell Programming and Scripting | 9 | 09-23-2006 06:10 PM |
| Trim white spaces using awk | mona | Shell Programming and Scripting | 2 | 07-28-2006 04:47 AM |
| delete white spaces | DebianJ | Shell Programming and Scripting | 2 | 10-12-2005 01:30 PM |
| deleting white spaces | cary530 | UNIX for Dummies Questions & Answers | 10 | 02-17-2004 01:22 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I have a file that has multiple spaces between characters. I want to delete or convert the multiple spaces into a single space. I think this can be done in "sed" but I only know the syntax to delete trailing or leading spaces. Can this be done with "sed" or awk? I have a file that looks like this: Code:
02-15-07 02:59PM 11264 approvalcategory.rpt 02-15-07 02:59PM 12800 approvalclassaudit.rpt Code:
02-15-07 02:59PM 11264 approvalcategory.rpt 02-15-07 02:59PM 12800 approvalclass audit.rpt Last edited by Yogesh Sawant; 04-21-2008 at 05:12 AM.. Reason: added code tags |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|