Compare, diff to a file with Perl help needed

2008-10-20 Thread Z W
Hi I have 2 log files, each with a timestamp on the first 2 fields. However, when I do a awk '/ / {print $1,$2}' logs/x.log on a log file, it is complicated by the fact that I also get other non timestamp column, 2008-10-20 15:00:06,113 2008-10-20 15:00:06,113 2008-10-20 14:59:48,828 javax.naming

Perl help needed LWP

2003-12-17 Thread Saleem Mukhtar
Hello, I am trying to use the Perl LWP and HTTP modules to communicate with the eBay API but I get the following message 500 Can't connect to api-test.ebay.com:443 (Bad protocol 'tcp') Can someone help?? I am including some code below -- I have blanked out userids and passwords. Please respo

Re: perl help needed

2003-07-06 Thread Mark Stosberg
In article <[EMAIL PROTECTED]>, vemulakonda uday bhaskar wrote: > hi all > > i have got a code for file transger between two linux systems > through ssh > here is the code Hello, This doesn't directly answer your question, but it may solve your problem. :) Have you considered just using passwor

perl help needed

2003-07-03 Thread vemulakonda uday bhaskar
hi all i have got a code for file transger between two linux systems through ssh here is the code #!usr/bin/perl use Net::SSH qw(sshopen2); my $user="username"; my $host="hostname"; my $cmd="commanad"; sshopen2("[EMAIL PROTECTED]",*REAEDR,*WRITER,"$cmd") or die "ssh :$!"; while() { chom