Re: egrep and $ftp->cmd

2001-10-19 Thread Michael Fowler
On Fri, Oct 19, 2001 at 08:51:45PM +, P lerenard wrote: > I try to get one line from a file on another server. > I tried with Net::FTP > $ftp = Net::FTP->new("server"); > $ftp->login($user,$pass); > $ftp->cwd("dir"); > @zone = $ftp->cmd("egrp -n 'zone \"try.com' file"); > $ftp->quit; > print @

egrep and $ftp->cmd

2001-10-19 Thread P lerenard
Hi, I try to get one line from a file on another server. I tried with Net::FTP $ftp = Net::FTP->new("server"); $ftp->login($user,$pass); $ftp->cwd("dir"); @zone = $ftp->cmd("egrp -n 'zone \"try.com' file"); $ftp->quit; print @zone; I don't know if ->cmd support this command, it doesn't work with