Next | Welcome to my ~/bin | 81 |
updatedb was little more than a wrapper around find
locate is little more than a wrapper around egrep
my @COMMAND = ('egrep', @GREPFLAGS, $PAT, $DB);
exec @COMMAND; die "$0: Couldn't run 'grep' command:\n\t@COMMAND\n\t$!\n";
sub usage { ... }
I finally have an excuse for not using Getopt::Long:
I want the program to accept all options
Then it will pass the unrecognized ones on to grep
So it will support all of grep's zillions of options
Next | Menu | Copyright © 2005 M. J. Dominus |