selector 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 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.
|Tags||Command Line bash Unix Shell|
|Operating Systems||Linux Mac OS X|