08-08-2011
Hi All,
Thanks a lot for your time. It worked now.
Thanks,
Deepak
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I want to sort a flat file which will contain millions of records based on a key/field. For this I want to use unix sort command and before that I want to make sure that unix sort command has any file size limitations. And also please let me know whether I have to change any... (1 Reply)
Discussion started by: chprvkmr
1 Replies
2. Shell Programming and Scripting
Hi,
I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ).
Eg:
0000001
0000220
0001235
0000022
0000023
...........
.........
........
Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies
3. UNIX for Dummies Questions & Answers
Hey guys.
I am trying to sort a file by account number through UNIX. I have a few things but it seems to sort by account number AND sort everything after the account number.
Help please.
Thanks (5 Replies)
Discussion started by: ndoggy020
5 Replies
4. Shell Programming and Scripting
hi all,
I was able to do a script to gather a few files and sort them.
here it is:
#!/usr/bin/ksh
ls *mainFile* |cut -c20-21 | sort > temp
set -A line_array
i=0
file_name='temp'
while read file_line
do
line_array=${file_line}
let i=${i}+1 (5 Replies)
Discussion started by: naoseionome
5 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys ,
Please help me I am having a requirement as below:
$ ls -i log* | head
66486532 log1
66486662 log10
66486663 log11
66486664 log12
66486665 log13
66486533 log2
66486534 log3
66486535 log4
66486584 log5
66486590 log6
This id listing the first 10 files starting with log.
... (4 Replies)
Discussion started by: mraghunandanan
4 Replies
6. Shell Programming and Scripting
Hi Everyone,
# cat b
Sat 12 Sep 2009 10:31:49 PM MYT;a;a;a;Sun 13 Sep 2009 11:32:49 AM MYT;
Sat 13 Sep 2009 10:31:49 PM MYT;a;a;a;Mon 14 Sep 2009 10:31:49 PM MYT;
Sat 14 Sep 2009 10:31:49 PM MYT;a;a;a;Sun 13 Sep 2009 10:31:49 PM MYT;
# sort -t';' -k5 b
Sat 13 Sep 2009 10:31:49 PM... (8 Replies)
Discussion started by: jimmy_y
8 Replies
7. Shell Programming and Scripting
these are two records(adr.txt)trying to sort with the the code expl below.
5423|336110|2730 Pierce St|Ste 300|Sioux City|IA|Woodbury|51104|3765||42518651|96405013|A|2|3|U|12/08/2009
5423|14462335|624 JONES ST|STE 5400|Sioux City|IA|Woodbury|51101|||42496648|96400644|A|8|2|U |12/24/2009
nawk... (3 Replies)
Discussion started by: greenworld
3 Replies
8. Shell Programming and Scripting
I want to sort unique values of column 2 that has the maximum value at column 7. this is my file and desired output
I have a file like this:
AD008 AD0081010180947 101018 0947 0950 1010180947 1010180950
AD008 AD0081010180947 101018 0947 0956 1010180947 1010180956
AD008 AD0081010180947... (12 Replies)
Discussion started by: aydj
12 Replies
9. UNIX for Advanced & Expert Users
Hello,
I have a file with 'tab' separated columns. The first column of the file contains integer values. Now I want to sort the first column in ascending order.
Can someone help me on this...
thanks in advance (1 Reply)
Discussion started by: koneru_18
1 Replies
10. UNIX for Dummies Questions & Answers
Hi I have below pattern
A: Apple 2 B:Bolls 4 total_count = 6
A: pens 4 B:Bags 4 total count = 8
A: pens 4 B:Bags 4
A: cells 6
A: jobs 6
Output I need :
A: Apple 2 B:Bolls 4 total_count = 6
A: pens 4 B:Bags 4 total count = 8
A: cells 6
A: jobs 6
... (7 Replies)
Discussion started by: pkkanduk
7 Replies
LEARN ABOUT DEBIAN
slimrat
SLIMRAT(8) User Contributed Perl Documentation SLIMRAT(8)
NAME
slimrat - Command-line utility for downloading files
VERSION
1.0
DESCRIPTION
Command-line download manager, capable of downloading files from
several free download providers.
SYNOPSIS
slimrat [OPTION...] [LINK]...
OPTIONS
--help
Prints a summary how to use the client.
--man
Prints a manual how to use the client.
--daemon
Makes slimrat work in the background, by properly forking and redirecting
the output to a specified logfile. Only one file can be backgrounded at a
time, to support multiple instances you'll need to specify differend
state files to save the instances PID in.
--kill
Kills a single active client, by looking up the PID in a predefined state file.
--list
Uses the given file as a queue-file containing URLs.
--check
Do not download the loaded URLs, just check them.
--to
Specifies the target directory for the downloaded files.
--address
Makes the download client bind to a specific address.
--config
Load custom configuration file.
--debug
Enables maximal verbosity, which includes a lot of text on the screen and the generation
of an additional dump archive.
WARNING: do not use this option by default, as it keeps a whole lot of extra information
in memory (including _all_ downloaded items).
--quiet
Makes slimrat less verbose, only displaying errors and warnings.
EXAMPLES
slimrat http://rapidshare.com/files/012345678/somefile.xxx
slimrat -l urls.dat -d
AUTHOR
PAaXemek Vyhnal <premysl.vyhnal gmail com> Tim Besard <tim-dot-besard-at-gmail-dot-com>
perl v5.10.1 2010-01-27 SLIMRAT(8)