- or download this
open(MAN,"/usr/bin/man ssh |")
|| die "Could not fork():$!\n";
...
print "found it\n" if (/DESCRIPTION/i);
# tried with modifiers: m,s,i none worked.
}
- or download this
system("man ssh >sshf");
open(MANP,"<sshf") or die "Error:$!\n";
while (<MANP>){
print "got it\n" if /DESCRIPTION/;
}
- or download this
open(MAN,"/usr/bin/man ssh |") or die"$!\n";
while(<MAN>){
print "work!\n" if /description/ig;
}
- or download this
open(MAN,"/usr/bin/man ssh |") or die"$!\n";
while(<MAN>){
print "work!\n" if /ssh/g;
}
- or download this
$name = qw(
ssh - OpenSSH secure shell client (remote login program)
);
- or download this
$synopsis = qw(
ssh [-l login_name] [hostname | user@hostname] [command]
);
- or download this
$description =qw(
- or download this
);
- or download this
EOF