10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have two pipe separated files as below:
head -3 file1.txt
"HD"|"Nov 11 2016 4:08AM"|"0000000018"
head -3 file2.txt
"HD"|"Nov 15 2016 2:18AM"|"0000000019"
I want to list the... (6 Replies)
Discussion started by: Prasannag87
2. Shell Programming and Scripting
Hi I was wondering if anyone knew the best way to have files displayed by list so that they were in numerical order?
the problem I am having is I am using the ls and the head command to sort a group of 500 files into manageable 133 file bunches and transfer them to another directory were they will... (4 Replies)
Discussion started by: Paul Walker
3. Shell Programming and Scripting
My OS is Windows and therefore DOS. Hence I have no access to Unix tools.
I am trying to sort a file in Urdu by the character by which it ends. Each word is on a separate line.
As input, an example in English would help:
I need the sort to be on the... (5 Replies)
Discussion started by: gimley
4. Shell Programming and Scripting
I am very much a newbie at perl but picking it up and I'm hoping you can help.
I have a file input that details all the /etc/group files in our enterprise in the following format: "<host>:<group>:<gid>:<users>"
I want to parse this data display it as the following:... (9 Replies)
Discussion started by: g_string
5. UNIX for Dummies Questions & Answers
n02-z30-dsr65-terr0.50-dc0.006-16x12drw-run2.cmd... (13 Replies)
Discussion started by: kristinu
6. Shell Programming and Scripting
I've googled around for this and can't see a way of doing it.
I have a file that contains a number of records that are layed out something like the following.
The path itself can vary both in terms of the names and the... (7 Replies)
Discussion started by: Bashingaway
7. Shell Programming and Scripting
EDIT : This is for perl
@data2 = grep(/$data/, @list_now);
This gives me @data2 as
Printing data2 11 testzone1 running /zones/testzone1 ***-*****-****-*****-***** native shared
But I really cant access data2 by its individual elements.
$data2 is the entire list, while $data,2,3...... (1 Reply)
Discussion started by: shriyer
8. UNIX for Dummies Questions & Answers
I have a pecular issue in sorting these files (not an ls -lrt) in Solaris environment.
All the below files are modified on November 4th, but I want to sort these files as per date (eg: 01May07_1623 = ddmmmyy_hhmm)
Nov 4 18:27 SONYELEC00.GI22973.01May07_1623.gpg
Nov 4 18:27... (10 Replies)
Discussion started by: shivaastrogun
9. UNIX for Advanced & Expert Users
Hi List is
How does it do it?
sort -t ':' +0 -1 -n +1 -2 +2 -3 -o list list (6 Replies)
Discussion started by: gurvinder
I need to do a sorting of 2 arrays. One array contains the values of both integer and character and other array can be anything. For example:
If any of these arrays... (6 Replies)
Discussion started by: ronix007