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
...UpandDownto navigate candidatesTabto selectEnterto return selections and currently highlighted candidateEscto 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; doneNo.
None of them display an aplomb lambda as the prompt symbol.