Sponsored Content
Full Discussion: Sort question
Top Forums UNIX for Beginners Questions & Answers Sort question Post 302992938 by vgersh99 on Friday 3rd of March 2017 02:28:19 PM
Old 03-03-2017
don't have Solaris atm, but try this:
Code:
sort -k2 -k4n,4r myFile

This User Gave Thanks to vgersh99 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sort Question

M 47 HIS:LOT 32 DUTY 2 MIKE, FINISHED MIKE ACTIVE STATUS 23TASK YES GOOD 100TASK NO GOOD ======================================== M 47 HIS:LOT 1 DUTY 1 MIKE, FINISHED MIKE ACTIVE STATUS 23TASK YES GOOD ... (7 Replies)
Discussion started by: bobo
7 Replies

2. UNIX for Dummies Questions & Answers

Sort/Grep Question

Hello all, I have a test file that has the format: ..... O 3.694950 -.895050 1.480000 O 5.485050 .895050 1.480000 Ti -4.590000 4.590000 2.960000 Ti -2.295000 ... (5 Replies)
Discussion started by: aarondesk
5 Replies

3. UNIX for Dummies Questions & Answers

SORT question

I'm looking for a sort command that will sort by zip code first then by last name. (zip code is the last field, last name is first field) data file looks like this. Hope Bob 1234 Main ST. Colorado Springs, CO 80920 I was thinking along the lines of: sort -k9n address.data //for the... (2 Replies)
Discussion started by: ssgatbliss
2 Replies

4. UNIX for Dummies Questions & Answers

UNIX Sort question

I was trying to check for the sort of some columns (say 1-10) of particular file. Now, by default, the Unix sort uses as a separator whitespace (e.g. if you have 'foo bar' then it separates it into 'foo' and 'bar' to use as keys) Now, I know which particular columns I want to use as the sort... (1 Reply)
Discussion started by: rev.meister
1 Replies

5. Shell Programming and Scripting

sort question

Hi all. Is there a way that I can use the sort command too sort the following field by earliest time (12:00AM) to latest time (11:59PM)? 07:12PM 07:53PM 07:54PM 08:07PM 10:15AM 10:21AM TIA!!!!!! (1 Reply)
Discussion started by: lyoncc
1 Replies

6. Shell Programming and Scripting

sort question

Hi all. HPUX - posix shell - script question Here's my data: f1 f2 f3 f4 f5 f6 |02/12/09|12:33PM|3|Oceanview |OVT #1| VISA/MC |02/12/09|12:14PM|3|Oceanview |OVT #1| VISA/MC |02/12/09|09:13AM|4|Oceanview |OVT #1| VISA/MC ... (8 Replies)
Discussion started by: lyoncc
8 Replies

7. Shell Programming and Scripting

sort | uniq question

Hello, I have a large data file: 1234 8888 bbb 2745 8888 bbb 9489 8888 bbb 1234 8888 aaa 4838 8888 aaa 3977 8888 aaa I need to remove duplicate lines (where the first column is the duplicate). I have been using: sort file.txt | uniq -w4 > newfile.txt However, it seems to keep the... (11 Replies)
Discussion started by: palex
11 Replies

8. Shell Programming and Scripting

Sort question.

Hi Guys, I have a file to be sorted and uniq with the following format. S00001002|01|20021231 S00001002|01|20011031 S00001006|01|20120430 S00001006|01|20111231 S00001006|01|20111031 S00001006|01|20110831 S00001006|01|20110731 S00001006|01|20101231 S00001006|01|20091231... (5 Replies)
Discussion started by: nua7
5 Replies

9. UNIX for Dummies Questions & Answers

Sort command question

I have a file like this: /vol/eng_app_0103z /vol/eng_app_0103z /vol/eng_app_0120z /vol/eng_app_0126z /vol/eng_app_0144z /vol/eng_app_0150z /vol/eng_app_0154z /vol/eng_app_01551z /vol/eng_app_01552z /vol/eng_app_0155z /vol/eng_app_0164z /vol/eng_app_0199zWhen I use the sort command... (3 Replies)
Discussion started by: newbie2010
3 Replies

10. Shell Programming and Scripting

Sort command question

I have a question about what the sort command is doing. Here is some sample data: 348201310013RVE 2 600201310013GFJ 70 3302013020101NS 40 600201309013GFJ 70 The sort command that is running is as follows: sort -k 1,3 -k 12,4 input.txt > output.txt ... (6 Replies)
Discussion started by: Drenhead
6 Replies
HFA(4)							   BSD Kernel Interfaces Manual 						    HFA(4)

NAME
hfa -- FORE Systems 200-Series ATM adapter driver SYNOPSIS
device hfa DESCRIPTION
The hfa driver provides support for the FORE Systems ATM series 200 adapters. This driver will support up to eight devices in a system at any given time. The hfa driver follows the AALI or FORE ATM Adaptation Layer Interface and as such will adhere to its specifications. The supported AALs include: o FORE AAL 0: The cell service; o FORE AAL 4: Version three and four of AAL; o FORE AAL 5: Version five of AAL. The hfa driver supports traffic shaping for cards with firmware revisions of 4.X.X, see fore_dnld(8). The following sysctls are recognized by the driver and may be used to enable or disable traffic shaping: hw.atm.hfaN.shape (0) Disable shaping on card number N. hw.atm.hfaN.shape (1) Set one VCI to be traffic shaped on device N. This will shape the first CBR VCI which is opened. hw.atm.hfaN.shape (2) Attempt to shape all VCIs on device N. The firmware should be loaded before using this driver, this can be an easy task if the fore_dnld(8) utility is used. If the /etc/rc.d/atm1 file has been properly configured then the firmware update should be automatic. HARDWARE
The hfa driver supports the following adapters: o FORE Systems PCA-200E ATM o FORE Systems 200S o FORE Systems 200 DIAGNOSTICS
fore_cmd_drain: %s%d: GET_PROM failed The driver failed to drain the PROM buffer. fore initialization failed: intf=%s%d Initialization of the card has failed. fore initialization timed out: intf=%s%d Initialization of the card has timed out. hfa: version mismatch: fore=%d.%d kernel=%d.%d A version mismatch error has occurred. SEE ALSO
fatm(4), harp(4), ng_atm(4), atm(8), fore_dnld(8) HISTORY
The hfa driver was written by Network Computing Services, Inc. and added to FreeBSD 3.0 by Poul-Henning Kamp <phk@FreeBSD.org>. This manual page first appeared in FreeBSD 5.3. AUTHORS
This manual page was written by Tom Rhodes <trhodes@FreeBSD.org>. BSD
August 6, 2004 BSD
All times are GMT -4. The time now is 07:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy