10 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
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
3. 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
4. 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
5. 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.
$str = sprintf "%4s %-40s", "PID",... (7 Replies)
Discussion started by: whysolucky
6. Shell Programming and Scripting
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!?
From the netherlands ;) (5 Replies)
Discussion started by: dennisbest85
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
8. 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
9. 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
10. Shell Programming and Scripting
hai, how can i sort a file alphabetically without using sort command (6 Replies)
Discussion started by: rahul801