![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| column number, awk, help | jkl_jkl | Shell Programming and Scripting | 2 | 03-15-2008 07:16 PM |
| Sorting a column in this scenario | krishnan_6015@y | Shell Programming and Scripting | 1 | 11-27-2007 06:34 AM |
| Identifying the column number | pondlife | Shell Programming and Scripting | 2 | 09-28-2007 07:43 AM |
| returning a column number | scriptingmani | Shell Programming and Scripting | 2 | 07-06-2007 06:36 PM |
| awk to select a column from particular line number | mab_arif16 | Shell Programming and Scripting | 4 | 05-08-2006 02:26 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi All,
Can anyone tell me how to sort data in a file using the “sort” command? Note that the records in the data file are not separated into fields. I know only the column positions of the data on which sorting should be done. For example say I’ve to sort based on the data present in between column positions 152-165 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
sort -k 1.152,1.165
|
|||
| Google The UNIX and Linux Forums |