The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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
sort command tonet Shell Programming and Scripting 5 05-11-2008 08:03 AM
How can I use double character delimiter in the cut command AshishK UNIX for Advanced & Expert Users 1 10-07-2007 04:36 PM
Dynamic delimiter in cut command tej.buch Shell Programming and Scripting 3 01-21-2006 06:02 AM
regarding sort command. aman_aj UNIX for Dummies Questions & Answers 2 11-22-2004 11:53 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-31-2006
Nomaad Nomaad is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 18
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
  #2 (permalink)  
Old 04-01-2006
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:05 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0