![]() |
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 |
| Help needed to sort multiple columns in one file | ahjiefreak | UNIX for Dummies Questions & Answers | 1 | 12-07-2007 05:50 AM |
| need help in sort | ali560045 | Shell Programming and Scripting | 2 | 12-04-2007 07:38 AM |
| Help needed to sort file | inditopgun | Shell Programming and Scripting | 2 | 09-27-2007 06:40 PM |
| help needed with sort. pipe and popen() | the_learner | UNIX for Dummies Questions & Answers | 7 | 05-21-2007 07:24 PM |
| sort | enuenu | UNIX for Dummies Questions & Answers | 2 | 03-14-2007 04:59 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Sort - Help Needed
Hi,
I am facing a small problem while I am doing the sort. Problem Definition: I have a file which has the following data. >cat test.dat zxzxc asdasd qwaxcZa qwaxcA When I do a sort on this file. the result set is asdasd qwaxcA qwaxcZa zxzxc But, we need to sort by using the first 5 charaters only. The desired output should be asdasd qwaxcZa qwaxcA zxzxc Can we do the sort by using only the first five characters of the field. Any help is highly appriciated. thanks Anand |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|