listnotes: -v option

This commit is contained in:
Dimitris Marakomihelakis 2023-08-20 20:39:15 +03:00
parent 927b05c578
commit d77e78b776

16
util/listnotes/v/v.sh Normal file
View file

@ -0,0 +1,16 @@
:<<'info'
shellnotes - v.sh
(C) Dimitris Marakomihelakis
Released under the "All rights reserved" category. See the RIGHTS.txt file
in /docs/github/ for its full text.
info
echo "Press 'Q' to move from one note to the other."
sleep 3
for file in "$DEFAULT_PATH"/*; do
if [ -f "$file" ]; then
echo "Displaying content of file: $file"
less "$file"
fi
done