![]() |
|
|
|
|
|||||||
| 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 |
| sort command | tonet | Shell Programming and Scripting | 5 | 05-11-2008 04:03 AM |
| How can I use double character delimiter in the cut command | AshishK | UNIX for Advanced & Expert Users | 1 | 10-07-2007 12:36 PM |
| Dynamic delimiter in cut command | tej.buch | Shell Programming and Scripting | 3 | 01-21-2006 03:02 AM |
| regarding sort command. | aman_aj | UNIX for Dummies Questions & Answers | 2 | 11-22-2004 08:53 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
sort command delimiter
Hello All,
I'm trying to use the sort command on a text file, the delimiter used in this file is a non-prining character '\027' I tried to use the command -t option but it's not really working. sort +n4 -t'\027' filename <<-- this is what I was trying and not working. Your help is highly appreciated Thanks, Nomaad |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Just a suggestion (dont know if it will work...), try using tr to translate the \027 to some other character, then sort and then tr the 'other' char back to \027.
|
||||
| Google The UNIX and Linux Forums |