App-BashHistoryUtils
view release on metacpan or search on metacpan
script/grep-bash-history-entries view on Meta::CPAN
B<grep-bash-history-entries> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)
B<grep-bash-history-entries> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)
B<grep-bash-history-entries> [B<L<--config-path|/"--config-path=s, -c">>=I<path>|B<L<-c|/"--config-path=s, -c">>|B<L<--no-config|/"--no-config, -C">>|B<L<-C|/"--no-config, -C">>] [B<L<--config-profile|/"--config-profile=s, -P">>=I<profile>|B<L<-P|/"-...
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
=over
=item B<--histfile>=I<s>, B<-f>
Default value:
"/home/u1/.bash_history"
=item B<--ignore-case>, B<-i>
(No description)
=item B<--invert-match>
(No description)
=back
=head2 Configuration options
=over
=item B<--config-path>=I<s>, B<-c>
Set path to configuration file.
Can actually be specified multiple times to instruct application to read from
multiple configuration files (and merge them).
=item B<--config-profile>=I<s>, B<-P>
Set configuration profile to use.
A single configuration file can contain profiles, i.e. alternative sets of
values that can be selected. For example:
[profile=dev]
username=foo
pass=beaver
[profile=production]
username=bar
pass=honey
When you specify C<--config-profile=dev>, C<username> will be set to C<foo> and
C<password> to C<beaver>. When you specify C<--config-profile=production>,
C<username> will be set to C<bar> and C<password> to C<honey>.
=item B<--no-config>, B<-C>
Do not use any configuration file.
If you specify C<--no-config>, the application will not read any configuration
file.
=back
=head2 Environment options
=over
=item B<--no-env>
Do not read environment for default options.
If you specify C<--no-env>, the application wil not read any environment
variable.
=back
=head2 Filtering options
=over
=item B<--max-age>=I<s>
Match entries older than a certain age.
=item B<--min-age>=I<s>
Match entries younger than a certain age.
=item B<--pattern>=I<s>, B<-p>
Match entries using a regex pattern.
Can also be specified as the 1st command-line argument.
=back
=head2 Formatting options
=over
=item B<--strip-timestamp>
Strip timestamps.
=back
=head2 Output options
=over
( run in 1.500 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )