![]() |
|
|
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 |
| remove spaces btw | tjmannonline | UNIX for Dummies Questions & Answers | 7 | 05-26-2008 03:35 AM |
| removing extra spaces | agarwal | Shell Programming and Scripting | 2 | 04-25-2008 05:54 AM |
| How to remove trailing spaces | mahek_bedi | UNIX for Dummies Questions & Answers | 2 | 08-10-2007 08:21 AM |
| To remove Continous blank spaces from a file in UNIX | arunkumar_mca | UNIX for Dummies Questions & Answers | 1 | 12-08-2006 01:10 AM |
| remove extra lines in the file | CamTu | Shell Programming and Scripting | 8 | 03-29-2005 02:13 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi...
I am quite new to Unix and would like an issue to be resolved. I have a file in the format below; 4,Reclaim,ECXTEST02,abc123,Harry Potter,5432 6730 0327 5469,0603,,MC,,1200,EUR,sho-001,,1,,,abc123,1223 I would like my output to be as follows; 4,Reclaim,ECXTEST02,abc123,Harry Potter,5432673003275469, 0603,,MC,,1200,EUR,sho-001,,1,,,abc123,1223 i.e i want the inbetween spaces from the 6th field to be removed. Please do help Thanks in advance |
|
||||
|
Thanks a lot.
But when I tried using the above nawk command, I got the followin error; "nawk: empty regular expression source line number 1 context is { gsub(/ >>> /,// <<< , $6); print }" Not sure on what I m missing out. Please do help me out. Thanks... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|