summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-01-04 05:29:09 +0000
committerJim Meyering <jim@meyering.net>1996-01-04 05:29:09 +0000
commit6a7bd50a0bd6caec62df950744a2f2ab39edd13e (patch)
tree498ebfff7561dd25d06b4a9ad484029d6d3d3fd3 /doc
parentf280d719f32f1cac484d59acbf726d4f816b0191 (diff)
downloadcoreutils-6a7bd50a0bd6caec62df950744a2f2ab39edd13e.tar.xz
Use `$year', not `year' as expr arg.
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/mdate-sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/mdate-sh b/doc/mdate-sh
index 29e5fbb7b..4d38433a9 100755
--- a/doc/mdate-sh
+++ b/doc/mdate-sh
@@ -82,7 +82,7 @@ case $3 in
# be used for file modified in the last year.
if (expr $nummonth \> $nummonthtod) > /dev/null;
then
- year=`expr year - 1`
+ year=`expr $year - 1`
fi
;;
*) year=$3;;