From 51843191ead151a587806863e988eb8d6ebcd95e Mon Sep 17 00:00:00 2001 From: dmarakom6 Date: Fri, 5 Mar 2021 17:13:22 +0200 Subject: [PATCH] 'r' parameter --- util/u/u.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 util/u/u.sh diff --git a/util/u/u.sh b/util/u/u.sh new file mode 100644 index 0000000..57d10d0 --- /dev/null +++ b/util/u/u.sh @@ -0,0 +1,14 @@ +:<<'info' +shellnotes - u.sh +(C) Dimitris Marakomihelakis +Released under the "All rights reserved" category. See the RIGHTS.txt file +in /docs/github/ for its full text. +info + +case $1 in -u|--update ) + if [ -n "`$SHELL -c 'echo $BASH_VERSION'`" ]; then + . ~/.shellnotes/bash_update.sh + else + . ~/.shellnotes/update.sh + fi +esac