Re: sort two patterns, control structure help needed

2002-11-08 Thread badchoice
perl -ne '$;[$_>99].=$_}{print@' infile.txt > outfile.txt :) if no additional sorting is required -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: sort two patterns, control structure help needed

2002-11-08 Thread Aman Thind
;ll do the trick :) -aman. -Original Message- From: Alan C. [mailto:acummingAT@;cwnetDOT.com] Sent: Friday, November 08, 2002 2:53 PM To: [EMAIL PROTECTED] Subject: sort two patterns, control structure help needed Hello, This must be easy. But I've not yet enough experience with Perl&

Re: sort two patterns, control structure help needed

2002-11-08 Thread Sudarshan Raghavan
On Fri, 8 Nov 2002, Alan C. wrote: > Hello, > > This must be easy. But I've not yet enough experience with Perl's control > structures. > > perl mysort.pl infile.txt > outfile.txt > > The stack of numbers with colons below reside within infile.txt > > 120:2 > 126:2 > 13:15 > 140:3 > 14:3 > 141

Re: sort two patterns, control structure help needed

2002-11-08 Thread John W. Krahn
"Alan C." wrote: > > Hello, Hello, > This must be easy. But I've not yet enough experience with Perl's control > structures. > > perl mysort.pl infile.txt > outfile.txt > > The stack of numbers with colons below reside within infile.txt > > 120:2 > 126:2 > 13:15 > 140:3 > 14:3 > 141:3 > 14:3

sort two patterns, control structure help needed

2002-11-08 Thread Alan C.
Hello, This must be easy. But I've not yet enough experience with Perl's control structures. perl mysort.pl infile.txt > outfile.txt The stack of numbers with colons below reside within infile.txt 120:2 126:2 13:15 140:3 14:3 141:3 14:3 15:11 My task or goal is to get each of them lines over i