Greets Guys

Trying to Make a system from perl to use the sort.



# @args = ('c:\windows\system32\sort.exe "C\logs\"');
#     system(@args) == 0
#          or die "system @args failed:$?"

Trying to basically grab two log files.

sort them

so that we don't lose any data

and then output to a master.log

Trying to use this sorting option.

sort -Mk 2,2 -k 3,3n xferlog.??.nsun2 xferlog.??.nsun3 -o xferlog.??

I believe its unix sort utility.

Is It possible to call this ?

-Thanks



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to