ifeq ($(DEBUG),yes)
OPTIMIZE_FLAG = -ggdb3 -DDEBUG -fno-omit-frame-pointer
else
- OPTIMIZE_FLAG = -ggdb3 -O3
+ OPTIMIZE_FLAG = -O2
endif
CFLAGS = -Wall -ansi -pedantic -DREVISION_NUMBER=$(REVISION_NUMBER) $(OPTIMIZE_FLAG)
is updated in real time to show only the matching lines. The main
usage of selector is as an efficient search in the shell command
history. With the correct option, it will inject the selected line
- into the tty input buffer, hence allowing the user to edit the line
- and execute it as a standard command.
+ into the tty input buffer, allowing the user to edit the line and
+ execute it as a standard command.
EOF
cp ./selector ${TMP}/${BIN_PATH}
the display is updated in real time to show only the lines containing
all the said strings, or matching the regexp.
-The main usage of selector is as an efficient search in the shell
-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.
+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 bidding. The -v option will inject the selected
+line into the tty input buffer, allowing the user to edit the line and
+execute it as a standard command.
Selector is also a good tool to test regexps, or a way to display
menus. The -x option allows to specify a label delimiter: the part of
.SH "AUTHOR"
The selector command was written by Francois Fleuret
-<francois@fleuret.org> and is distributed under the under the terms of
-the GNU General Public License version 3 as published by the Free
-Software Foundation.
+<francois@fleuret.org> and is distributed under the terms of the GNU
+General Public License version 3 as published by the Free Software
+Foundation.