10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have a unix script that outputs a summary file to the mac desktop.
The file is called summary.txt
I am trying to configure such so that the summary.txt file lists the content contained within such in reverse sort order.
I have used sort -r but it does not seem to work.
I would be... (8 Replies)
Discussion started by: Braveheart
2. 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. Shell Programming and Scripting
I have a large database of words and would like them sorted in reverse order i.e. from the end up.
An example will make this clear:
I have tried to write a program in Perl which basically takes the string from the end and tries to sort from that end but it does not seem... (5 Replies)
Discussion started by: gimley
4. UNIX for Dummies Questions & Answers
I have this single file with a number of sequence inside it of format
the dots represent data.
I wanted to get the sequences arranged in ascending order like
>string5 (5 Replies)
Discussion started by: sonia102
5. Red Hat
My problem is that I am not able to list all process id of any process.
If you see pstree command it shows many process id under https. But if I run ps command its not listing all the process id for httpd.
It is just listing the PPID and immediate child process id only. I... (4 Replies)
Discussion started by: pratapsingh
6. Shell Programming and Scripting
I have data like this
HOS05 23/12/2008 10AM
HOS06 15/12/2008 2PM
HOS62 29/12/2008 10AM
HOS64 23/12/2008 2PM
HOS70 26/12/2008 10AM
ZFT01 06/12/2008 10AM
HOS73 11/12/2008 2PM
MHOS0 05/12/2008 10AM
MHOS0 20/12/2008 2PM
MHOS0 27/12/2010 2PM
MHOS0 11/12/2008 10AM
MHOS0 30/12/2009... (1 Reply)
Discussion started by: ckarunprakash
7. Shell Programming and Scripting
I'm hoping someone can help me out with this problem. I tried to search online but couldn't come up with an exact solution.
I have the following data file:
H|20-May-2011|MF_FF.dat|77164|731374590.96|1|1|731374590.96|76586|77164|578|2988|Y... (8 Replies)
Discussion started by: pchang
I have a vector of strings that contain a list of channels like this:
I have tried using the sort routine like this:
For some reason my channels are not being sorted at all. I was hoping someone might have some input that might... (2 Replies)
Discussion started by: sepoto
9. UNIX for Dummies Questions & Answers
How do you sort text in order using sed? :confused:
01 B D A C
to 01 ABCD (3 Replies)
Discussion started by: evoGage
10. UNIX for Advanced & Expert Users
I would like to arrange /sort filenames ending with suffix like ".00XXXX". where X is a digit. However the order of arrangement is in a text file and is 'harpharzard'. e.g the text file may be like
I wanted to avoid doing this using sql and exporting the text file back to... (4 Replies)
Discussion started by: samudimu