App-GrepUtils
view release on metacpan or search on metacpan
script/grep-nonblank view on Meta::CPAN
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2026-07-16'; # DATE
our $DIST = 'App-GrepUtils'; # DIST
our $VERSION = '0.007'; # VERSION
sub parse_cmdline {
Getopt::Long::Configure('auto_abbrev', 'pass_through');
my $res = GetOptions(
'version|V' => sub {
no warnings 'once';
say "grep-terms version ", ($main::VERSION // 'dev');
exit 0;
},
'help' => sub {
print <<USAGE;
Usage:
grep-nonblank [OPTIONS | FILES]...
grep-nonblank --help
grep-nonblank --version|-V
Examples:
script/grep-nonblank-clipboard view on Meta::CPAN
our %Opts = (
clipboard_manager => undef,
tee => 0,
);
sub parse_cmdline {
Getopt::Long::Configure('auto_abbrev', 'pass_through');
my $res = GetOptions(
'version|V' => sub {
no warnings 'once';
say "grep-terms version ", ($main::VERSION // 'dev');
exit 0;
},
'help' => sub {
print <<USAGE;
Usage:
grep-nonblank-clipboard [OPTIONS | FILES]...
grep-nonblank-clipboard --help
grep-nonblank-clipboard --version|-V
Options:
script/grep-terms view on Meta::CPAN
my $opt_highlight_terms;
my @grep_argv;
my @pos_terms;
sub parse_cmdline {
Getopt::Long::Configure('auto_abbrev', 'pass_through');
my $res = GetOptions(
'version|V' => sub {
no warnings 'once';
say "grep-terms version ", ($main::VERSION // 'dev');
exit 0;
},
'help' => sub {
print <<USAGE;
Usage:
grep-terms [GREP-TERM-OPTIONS]... <TERMS> [GREP-OPTIONS | FILES]...
grep-terms --help
grep-terms --version|-V
Grep-term Options:
( run in 1.866 second using v1.01-cache-2.11-cpan-9169edd2b0e )