How can I implement incremental search on command line?
Posted
by florianbw
on Stack Overflow
See other posts from Stack Overflow
or by florianbw
Published on 2010-04-22T11:22:25Z
Indexed on
2010/04/22
13:03 UTC
Read the original article
Hit count: 183
searching
I'd like to write small scripts which feature incremental search (find-as-you-type) on the command line.
Use case: I have my mobile phone connected via USB, Using gammu --sendsms TEXT I can write text messages. I have the phonebook as CSV, and want to search-as-i-type on that.
What's the easiest/best way to do it? It might be in bash/zsh/Perl/Python or any other scripting language.
© Stack Overflow or respective owner