Help for this page

Select Code to Download


  1. 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.
    }
    
  2. or download this
    system("man ssh >sshf");
    open(MANP,"<sshf") or die "Error:$!\n";
    while (<MANP>){
    print "got it\n" if /DESCRIPTION/;
    }
    
  3. or download this
    open(MAN,"/usr/bin/man ssh |") or die"$!\n";
    while(<MAN>){
    print "work!\n" if /description/ig;
    }
    
  4. or download this
    open(MAN,"/usr/bin/man ssh |") or die"$!\n";
    while(<MAN>){
    print "work!\n" if /ssh/g;
    }
    
  5. or download this
    $name = qw(
    
    ssh - OpenSSH secure shell client (remote login program)
    );
    
  6. or download this
    $synopsis = qw(
    
    ssh [-l login_name] [hostname | user@hostname] [command]
    );
    
  7. or download this
    $description =qw(
    
  8. or download this
    );
    
  9. or download this
    EOF