output.txt", Unix, Solaris, Linux, AIX, HPUX, Sun Microsystems, operating systems, unix commands, Ubuntu, Red Hat, Suse, Mandrake, Unix Flavors, BSD, FreeBSD, SCO, Shell, learn unix, BSD, dos, computer, programming, unix grep, bash, ksh, sh, shell, unix tutorial, learn unix. download unix. unix commands" />
![]() |
|
|
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 |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-20-2007 01:52 AM |
| Debian: doubt in "top" %CPU and "sar" output | jaduks | Debian | 0 | 09-12-2007 09:05 AM |
| Weird problem with output from "date '+3600*%H+60*%M+%S' " | m223464 | Shell Programming and Scripting | 5 | 02-16-2006 12:22 PM |
| Unix "at" / "Cron" Command New Problem...Need help | Mohanraj | UNIX for Dummies Questions & Answers | 3 | 01-26-2006 08:08 PM |
| Sorting "ls" output on more than 1 column | Nicol | UNIX for Dummies Questions & Answers | 1 | 09-20-2005 08:37 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Turn off field separation by using a field sep character that does not occur in any record. Try the : character, then everything is in field1
Code:
sort -t: -k 1.16,1.29 sample.txt > output.txt |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|