Search Results

Search: Posts Made By: xli
113,018
Posted By xli
perl -pi -e '$_ = "" if ($. == 1);' filename ...
perl -pi -e '$_ = "" if ($. == 1);' filename

works very well.

Thanks very much for your help, Tanku and Reborg.

Regards, xli
113,018
Posted By xli
how to remove the first line from a flat file ?
Hi,

I want to remove the first line from a flat file using unix command as simple as possible. Can anybody give me a hand ?

Thanks in advance.

xli
2,748
Posted By xli
sort command
Hi,

I am going to sort a huge flat file using sort command, this file is about 36 million lines, 179 fields delimitered by Ctrl B (002). eg.

1^B198709.....
17^B200301....
3^B196511.......
19,504
Posted By xli
Thanks
I got my issue resolved finally, thanks very much for your people's help!

xli
19,504
Posted By xli
Great!. That's exactly what I want. Two more...
Great!. That's exactly what I want. Two more questions :

First, as all of my flat files are huge, each contains around 24 millions records. If I join them tegether in one command, is it possible...
19,504
Posted By xli
how to join two more files....
Thanks, Neo and bhargav,

furthermore, is it possible to join more than two files at one time ?

Xli
19,504
Posted By xli
How to join flat files together under unix
Hi,

I have 7 big flat files, each contains 24 million records which have been sorted by the first field delimitered by Ctrl B (002).

I want to join them together side by side, eg.

File A:...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 05:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy