Next Trivial Utilities 76

pgrep

        $rc = 1;  # No matches;
        if ($opt_I) {
          while (<STDIN>) { chomp; do_file($_) }
        } elsif (@ARGV) {
          do_file($_) for @ARGV;
        } else {
          do_file(\*STDIN);
        }
        exit $rc;


Next Menu Copyright © 2012 M. J. Dominus