Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $cmd = "------------- Hello World ------------";
    my $result = `echo $cmd | grep '\-\-\-\-'`;
    print $result . "\n";
    
  2. or download this
    grep: unknown option »----«