09-05-2008
hi, rahul801, maybe you can write another tool only use by yourself to do the same job of sort! haha!!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I trying to find the solution for writing the programming in unix by shell programming for sorting thr string in alphabetical order.
I getting diffculty in that ,, so i want to find out the solution for that
Please do needful
Thanks
Bhagyesh (1 Reply)
Discussion started by: bp_vanarse
1 Replies
2. Linux
HI everyone,
I am trying to use the unix sort command to get a list of numbers sorted in ascending order but having trouble in getting it to work.
An example of this issue would be when i am trying to sort the following three
number each on a different line "1" , "2" and "116" the sort command... (3 Replies)
Discussion started by: wali4813
3 Replies
3. UNIX for Dummies Questions & Answers
How can I list the file under current directory both in alphabetical and in reverse alphabetical order? (1 Reply)
Discussion started by: g.ashok
1 Replies
4. Shell Programming and Scripting
What should be the Shell script that counts a number of unique word contained in a file and print them in alphabetical order line by line? (7 Replies)
Discussion started by: proactiveaditya
7 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I So, I've got a monster text document comprising a list of various company names and associated info just in a long list one after another. I need to sort them alphabetically by name...
The text document looks like this:
Company Name:
the_first_company's_name_here
Address:... (2 Replies)
Discussion started by: quee1763
2 Replies
6. Shell Programming and Scripting
Hi everyone!
I am new to the forum and have recently started working with Linux.
Quick question, I want a user list in alphabetical order as the output of a shell script.
Who can help me!?
Thanks!
From the netherlands ;) (5 Replies)
Discussion started by: dennisbest85
5 Replies
7. UNIX for Dummies Questions & Answers
I've looking over a script for work and I've had a problem with the script not listing the files in alphabetical order. To look up PIDs for apps, it would be beneficial to have them listed in that order. Here is what I've been reviewing.
#!/usr/bin/perl
$str = sprintf "%4s %-40s", "PID",... (7 Replies)
Discussion started by: whysolucky
7 Replies
8. Shell Programming and Scripting
Hi, need help in sorting lines between strings "<section status = “ole-service”>" and "</section>" in alphabetical order, based on the text in red. Hoping for an AWK or SED solution. Thank you.
...
<section status = “ole-service”>...
<p service = "OOO">XZZ</p>
<p service = "AAA">AAA... (3 Replies)
Discussion started by: pioavi
3 Replies
9. Shell Programming and Scripting
Hi All,
I have one file containing thousands of table names in single column. Now I want that file split into multiple files e.g one file containing table names starting from A, other containing all tables starting from B...and so on..till Z.
I tried below but it did not work.
for i in... (6 Replies)
Discussion started by: shekhar_4_u
6 Replies
10. UNIX for Beginners Questions & Answers
I have an interactive script which works terrific at processing a folder of unsorted files into new directories.
I am wondering how I could modify my script so that( upon execution) it provides an additional labelled summary file on my desktop that lists all of the files in each directory that... (4 Replies)
Discussion started by: Braveheart
4 Replies
faxq(1) mgetty+sendfax manual faxq(1)
NAME
faxq - display fax jobs queued by faxspool(1)
SYNOPSIS
faxq [<command>] [-osa] [-v] [-r] [-P<job><prio>]
DESCRIPTION
Display the fax queue set up by faxspool(1).
faxq looks for all the jobs queued by faxspool(1) to /var/spool/fax/outgoing/*. For each job in the queue, faxq displays some status infor-
mations about it. If no options are specified, one line per queued fax job is printed, displaying the job number, sender, number of pages
and target fax number.
COMMANDS
faxq stop stops the fax queue processing by creating the file /var/spool/fax/outgoing/stop. This command works only if you have write
access to the spool directory. Depending on local setup, this means ``root only'' or ``fax administrator group''. If you don't have write
access, an error message is printed.
faxq start re-starts a previously stopped fax queue, by removing the ``stop'' file. As for faxq stop this only works if you have write
access.
OPTIONS
-v Tells faxq to print a more verbose report for each job (multiple lines).
-o Show old jobs, already sent but still in the queue directory, too.
-s Show suspended jobs (stopped because of too many fatal errors during sending). You can restart those jobs with faxq -r
-a Show all jobs (active, old, suspended).
-r Restart suspended jobs. Every suspended job in the queue (that you have write permissions for) will be requeued. Use faxrm to
delete jobs that you do not want to be sent!
-P <job> <prio>
Change the priority of fax job <job> to <prio>. Example: "faxq -P F000247 3".
BUGS
faxq doesn't handle time scheduling yet.
faxq -P is currently broken (needs re-implementing with faxq-helper).
SEE ALSO
faxrunq(1), faxspool(1), faxrm(1), faxqueue(5)
AUTHOR
faxq is Copyright (C) 1993 by Gert Doering, <gert@greenie.muc.de>.
greenie 27 Oct 93 faxq(1)