X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=selector.1;h=10cf637cf20237518a995b8c8a524b765c2b606a;hb=a249ecc3eaf804c159f3e1efb31da118d783d2fb;hp=12c6e06a3a2853e44d278cc09a0f82116759caed;hpb=5fe2c9acdc088859478437ef120042455480b5a6;p=selector.git diff --git a/selector.1 b/selector.1 index 12c6e06..10cf637 100644 --- a/selector.1 +++ b/selector.1 @@ -19,10 +19,12 @@ command history. With the correct option, it will inject the selected line into the virtual tty input buffer, hence allowing the user to edit the line and execute it as a standard command. +Selector is also a good tool to test regexp quickly. + Keys corresponding to ASCII codes between ' ' and '~' add a character -to the pattern string. The Backspace key, ^H and ^? delete a character -on the left of cursor, while Delete key and ^D delete a character on -the right of the cursor. +to the pattern string. The Backspace key, ^H and ^? delete the +character on the left of the cursor, while Delete key and ^D delete +the character at cursor location. The Up and Down cursor keys move the selected line accordingly, and PageUp and PageDown move by ten lines. The Home and End key move to @@ -65,17 +67,18 @@ specify the symbol to separate the substrings in the search pattern .IP "\fB-l \fP" 10 specify the maximum number of lines to take into account .IP "\fB-f \fP" 10 -specify the file to search into +specify a file to search into (option kept for compatibility reasons) .SH "EXAMPLES" To use selector to search into your bash history, you can use -.B selector -d -i -b -v -f <(history) +.B selector -d -i -b -v <(history) .SH "BUGS" -Probably many. +Modeline display problems if the pattern is too long. Probably many +others. .SH "AUTHOR" .PP