diff options
author | Inigo Gutierrez <inigogf.95@gmail.com> | 2019-03-07 10:28:25 +0000 |
---|---|---|
committer | Inigo Gutierrez <inigogf.95@gmail.com> | 2019-03-07 10:28:25 +0000 |
commit | 833b8e5015be7fc10025a0815567d9eab8ed9713 (patch) | |
tree | fa2bb770d7272d2a4556163ea0910c45a395160d /years.sh | |
parent | 3de52c1aea725a21757715509da566330dc4167c (diff) | |
download | scripts-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-x | years.sh | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 - + |