From d77e78b776f0fbf19e306a9a4d24ba68a09270ff Mon Sep 17 00:00:00 2001 From: Dimitris Marakomihelakis Date: Sun, 20 Aug 2023 20:39:15 +0300 Subject: [PATCH] listnotes: -v option --- util/listnotes/v/v.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 util/listnotes/v/v.sh diff --git a/util/listnotes/v/v.sh b/util/listnotes/v/v.sh new file mode 100644 index 0000000..1c15e42 --- /dev/null +++ b/util/listnotes/v/v.sh @@ -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 \ No newline at end of file