![]() |
|
|
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 |
| Combining information from a comma delimited file | vzismann | UNIX for Dummies Questions & Answers | 1 | 08-06-2007 07:20 PM |
| Parsing comma delimited text file | chengwei | Shell Programming and Scripting | 5 | 02-23-2007 05:38 AM |
| Loading a comma Delimited file into an Array | grandtheftander | UNIX for Dummies Questions & Answers | 2 | 07-26-2006 02:19 PM |
| Comma Delimited file | dbrundrett | Shell Programming and Scripting | 2 | 04-05-2004 11:50 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
Hi, In the below code, the integers are seperated by tab and not multiple spaces. The same way in the sed command you should give a tab and not multiple spaces. I think problem occurs when you copy the below contents and run. Don't copy the contents, form the data file of your own and run the sed command. Let me know if you still face any problem Code:
/export/home/test/mona>cat tab_del.dat 1press the tab key here2 3 4 5 6 7 8 9 10 /export/home/test/mona>sed 's/ /,/g' tab_del.dat 1,2,3,4,5 6,7,8,9,10 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|