nrw
(pronounced narrow) is a simple utility that allows interactive
selection of zero or more lines from STDIN.
It furthermore supports masking the input to present a clearer overview of the input lines while still returning the full, unmasked input lines following selection.
Requires git
and stack
.
$ git clone https://github.com/jgertm/nrw.git && cd nrw
$ stack install --local-bin-path=$DIRECTORY_ON_YOUR_PATH
...
Up
andDown
to navigate candidatesTab
to selectEnter
to return selections and currently highlighted candidateEsc
to exit
Because you'll never get through your reading list one item at a time!
$ find ~/papers/ -name *.pdf | nrw --mask='/([^/]+.pdf)$' | while read -r pf; do open $pf; done
No.
None of them display an aplomb lambda as the prompt symbol.