X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=selector.1;h=31f383219b1675f616a7080f0ab839de5d198487;hb=31d6b34af7e6587c8eecabeb44da4de86ec93f3d;hp=35ffaa284363aea8cb0887fe7a61036e18369ac1;hpb=31678704628eccba0de6af1805a7026ab1a323bd;p=selector.git diff --git a/selector.1 b/selector.1 index 35ffaa2..31f3832 100644 --- a/selector.1 +++ b/selector.1 @@ -14,17 +14,17 @@ selector \- A simple command line utility for dynamic pattern selection .SH "DESCRIPTION" -\fBselector\fP is a command line utility for dynamic string -selection. It reads the content of the specified files, and as the -user types a list of strings separated by ";" (or a regexp), the +\fBselector\fP is a command line utility for interactive real-time +pattern matching. It reads the content of the specified files, and as +the user types a list of strings separated by ";" (or a regexp), the display is updated in real time to show only the lines containing all the said strings (or matching the regexp). -This command was mainly designed as a way to search in the shell -history, for which it is substantially more efficient than the -standard readline ^R binding. With the -v option, it injects the -selected line into the tty input buffer, hence allowing the user to -edit the line and execute it as a standard command. +This command was mainly designed as a way to search efficiently in the +shell history, for which it is substantially better than the standard +readline ^R binding. With the -v option, it injects the selected line +into the tty input buffer, hence allowing the user to edit the line +and execute it as a standard command. Selector is also a handy tool to test regexps, or to display menus with many possible choices. For the latter, the -x option allows to @@ -59,63 +59,64 @@ case-insensitive modes. .SH "OPTIONS" .TP -\fB-h\fR +\fB-h\fR, \fB--help\fR display help and exit .TP -\fB-m\fR +\fB-m\fR, \fB--monochrome\fR force the monochrome mode .TP -\fB-i\fR +\fB-i\fR, \fB--revert-order\fR revert the order of the lines .TP -\fB-b\fR +\fB-b\fR, \fB--remove-bash-prefix\fR remove the numeric prefix from bash history .TP -\fB-z\fR +\fB-z\fR, \fB--remove-zsh-prefix\fR remove the time prefix from zsh history .TP -\fB-d\fR +\fB-d\fR, \fB--remove-duplicates\fR remove duplicated lines (note that you can have two different lines with the same visible part if you use the -x option) .TP -\fB-e\fR +\fB-e\fR, \fB--regexp\fR start in regexp mode .TP -\fB-a\fR +\fB-a\fR, \fB--case-sensitive\fR start in case sensitive mode .TP -\fB-q\fR +\fB-q\fR, \fB--no-beep\fR make a flash instead of a beep when there is an edition error .TP -\fB--\fR +\fB--\fR, \fB--rest-are-files\fR state that all following arguments are filenames .TP -\fB-t \fI