Need to modify a delimited file using UNIX commands. Please find description
i have a '|' delimited file having 4 fields.
now i want to sort the data by combination of first three fields without changing order of 4th field.
input file looks like this:
now i want to have some modification of sorting that output file shoul look like:
Please Help. i am not getting desired output after many tries.
Last edited by Scrutinizer; 03-21-2013 at 05:41 AM..
Reason: code tags
Hi,
I know that to create a pdf file I can use the txt2pdf command.
But if I would change an existing pdf file, by inserting lines in particular positions of this file, what can I use? And How? (3 Replies)
Hi,
We have some clients who will place huge files in to one of the remote server.
And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients.
My question Is there any FTP command/script to check from my local... (1 Reply)
Hey everyone,
I need some help for some unix commands.
- List all processes in the file "ProcessUser.txt" sorted by the users and in the file "ProcessName.txt" sorted by the name of the process.
- How much time does the command "ls -alR /" need and compared to that, how much time is... (2 Replies)
Dear friends,
I believe that all unix commands are programs which are written in c language, please correct me if I am wrong. Now suppose that I want to see the c source of common commands like echo, ls, mkdir etc, where I can I find the source, linux is open source I believe, so the source for... (2 Replies)
I have the below requirement. below is the content of the input file and my expected result
Input file: a.txt
<?xml version="1.0" encoding="UTF-8"?>
<Employee>
<Name>XXXX</Name>
<ID>1233</ID>
</Employee>
<?xml version="1.0" encoding="UTF-8"?>
<Employee>
<Name>YYYY</Name>
<ID>1345</ID>... (2 Replies)
Please help me to update a file which contains date values as below:-
From:-
"1912108",20161130,"2016-12-01-00.00.00.000000","2016-12-01-08.37.12.000000"
"1912108",20161201,"2016-12-02-00.00.00.000000","2016-12-02-08.28.22.000000"
To:-
"1912108",2016-11-30,"2016-12-01... (7 Replies)
Dear Forum,
I have a rather large file with a few million lines looking like this:
head -n 5 seq.txt
>KF1.8.1
010011001011100010101110000000
>DF1.6.1
0101000010111010101011111100
>XC1.3.7
010110101011101010110000011
>GG5.1.1
0100011010111010101110001101
>HK1.2.2... (5 Replies)