Sponsored Content
Full Discussion: sort script/command
Top Forums UNIX for Dummies Questions & Answers sort script/command Post 90140 by reborg on Friday 18th of November 2005 05:53:24 PM
Old 11-18-2005
Not to put you down, but what you have done is write a script to make the sort command less efficient.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sort command

i am wondering is it possible to sort a file by day of the week for example if the file is name oncall-date phone number john wednsday 00000000 jane tuesday 00000000 alice monday 00000000 kevin thursday 00000000 can it be sorted... (1 Reply)
Discussion started by: melkor
1 Replies

2. UNIX for Dummies Questions & Answers

the sort command

Explain the output of the command “sort -rfn file1 | more”. (0 Replies)
Discussion started by: wickbc
0 Replies

3. Shell Programming and Scripting

Unable to use sort command in Shell Script

Hello All, I am creating a shell script that reads a file(test.txt) with the following data, 0.0.0.0 10.10.10.0 10.10.10.1 10.10.10.10 10.10.10.2 10.10.10.3 10.10.10.4 10.10.10.5 10.10.10.6 10.10.10.7 10.10.10.8 10.10.10.9 If I use the sort, the highest value I am getting is... (1 Reply)
Discussion started by: racbern
1 Replies

4. Shell Programming and Scripting

How to Sort Floating Numbers Using the Sort Command?

Hi to all. I'm trying to sort this with the Unix command sort. user1:12345678:3.5:2.5:8:1:2:3 user2:12345679:4.5:3.5:8:1:3:2 user3:12345687:5.5:2.5:6:1:3:2 user4:12345670:5.5:2.5:5:3:2:1 user5:12345671:2.5:5.5:7:2:3:1 I need to get this: user3:12345687:5.5:2.5:6:1:3:2... (7 Replies)
Discussion started by: daniel.gbaena
7 Replies

5. UNIX for Dummies Questions & Answers

sort command ... can I

Hi All, Simple question. I have a file (assumed unsorted) - can I sort said file but ignore the first two lines of the same said file (header lines) ?? Yes/No will suffice. If Yes - will keep searching. Cheers, Cam (7 Replies)
Discussion started by: Cameron
7 Replies

6. UNIX for Advanced & Expert Users

Script to sort the files and append the extension .sort to the sorted version of the file

Hello all - I am to this forum and fairly new in learning unix and finding some difficulty in preparing a small shell script. I am trying to make script to sort all the files given by user as input (either the exact full name of the file or say the files matching the criteria like all files... (3 Replies)
Discussion started by: pankaj80
3 Replies

7. Shell Programming and Scripting

Is it Possible to sort a list of hexadecimal numbers using "sort" command?

Hello Everybody :) !!!. i have question in mind, is it possible to sort a list of hexadecimal numbers using "sort" command? (9 Replies)
Discussion started by: Kesavan
9 Replies

8. Shell Programming and Scripting

Help to sort out... Possible use of sort command

I have an input like 4.3.6.66 4.3.6.67 4.3.6.70 4.3.6.25 4.3.6.15 4.3.6.54 4.3.6.44 4.3.6.34 4.3.6.24 4.3.6.14 4.3.6.53 4.3.6.43 4.3.6.49 4.3.6.33 4.3.6.52 4.3.6.19 4.3.6.58 4.3.6.42 (5 Replies)
Discussion started by: dnam9917
5 Replies

9. UNIX for Beginners Questions & Answers

Wget, grep, sort, sed in 1 command/script

Hi, I need to join these statements for efficiency, and without having to make a new directory for each batch. I'm annotating commands below. wget -q -r -l1 URL ^^ can't use -O - here and pipe | to grep because of -r grep -hrio "\b\+@\+\.\{2,4\}\+\b" * > first.txt ^^ Need to grep the output... (14 Replies)
Discussion started by: p1ne
14 Replies
faxq-helper(1)						       mgetty+sendfax manual						    faxq-helper(1)

NAME
faxq-helper - privileged helper process to access the fax queue SYNOPSIS
faxq-helper <command> [<options>] DESCRIPTION
faxq-helper is part of the internal workings of faxspool(1). Formerly, the /var/spool/fax/outgoing directory was world-writeable, leading to all sort of funny symlink attacks against faxspool(1) and faxrunq(8). These days, it's owned by the user ``uucp'', and only this user can write to it. To be able to put jobs there, faxspool(1) calls faxq- helper for very clearly defined purposes: - make a new queue directory - put a new fax G3 file into this queue directory - put a JOB file into this queue directory, and activate the fax job and possibly: - remove a fax job from the queue (to be used by faxrm and in case of errors) - re-queue a job that has been suspended due to repeated failures (faxq -r) To achieve this, faxq-helper is installed set-user-id uucp. If you remove the suid bit, or chown the fax queue directory to a different user, it will stop working. RETURN VALUES
faxq-helper has the following exit() values: 0 everything went fine 1 invalid JOB ID specified on the command line 2 some problem with the directory setup of the outgoing queue dir, /var/spool/fax/outgoing (it will print a detailed error message) 3 some problems with the user ID setup of the ``uucp'' user (it will print a detailed error message) 10 failure to process the specified command (it will print a detailed error message) SEE ALSO
faxspool(1), faxq(1), faxrm(1), faxqueue(5) AUTHOR
faxq-helper is Copyright (C) 2004-2006 by Gert Doering, <gert@greenie.muc.de>. greenie 18 Feb 06 faxq-helper(1)
All times are GMT -4. The time now is 05:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy