aboutsummaryrefslogtreecommitdiff
path: root/years.sh
diff options
context:
space:
mode:
authorInigo Gutierrez <inigogf.95@gmail.com>2019-03-07 10:28:25 +0000
committerInigo Gutierrez <inigogf.95@gmail.com>2019-03-07 10:28:25 +0000
commit833b8e5015be7fc10025a0815567d9eab8ed9713 (patch)
treefa2bb770d7272d2a4556163ea0910c45a395160d /years.sh
parent3de52c1aea725a21757715509da566330dc4167c (diff)
downloadscripts-833b8e5015be7fc10025a0815567d9eab8ed9713.tar.gz
scripts-833b8e5015be7fc10025a0815567d9eab8ed9713.zip
months.sh and years.sh now use cal, which is more common.
Diffstat (limited to 'years.sh')
-rwxr-xr-xyears.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/years.sh b/years.sh
index 49494cb..a3f2f5e 100755
--- a/years.sh
+++ b/years.sh
@@ -1,14 +1,14 @@
-#!/bin/bash
-# _ _ ___ __ _ _ __ ___
+#!/bin/sh
+# _ _ ___ __ _ _ __ ___
# | | | |/ _ \/ _` | '__/ __|
# | |_| | __/ (_| | | \__ \
# \__, |\___|\__,_|_| |___/
-# |___/
+# |___/
#
# Navigates through year calendars and exits with q
year=$(date +%Y)
-ncal -b -y
+cal -m -y
read -n 1 input
while [ "$input" != "q" ]
@@ -22,7 +22,7 @@ do
;;
esac
clear
- ncal -b -y $year
+ cal -m -y $year
read -n 1 input
done
-
+