use Net::OpenSSH; my $ssh = Net::OpenSSH->new('us@pp'); my @out = $ssh->capture('grep', '-i', '-e', '^AAA=', '-e', '^XXXXX AAA +=', "$dir/$file");
In reply to Re: perl, ssh and grep
by salva
in thread perl, ssh and grep
by hveneticus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |