From: Jim Meyering Date: Sat, 20 Jan 1996 12:18:50 +0000 (+0000) Subject: Year is 6th field, not 7th. X-Git-Tag: TEXTUTILS-1_14~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e30230223c4bb595b01d483841be26975d8f6e22;p=thirdparty%2Fcoreutils.git Year is 6th field, not 7th. --- diff --git a/doc/mdate-sh b/doc/mdate-sh index 4d38433a91..4f3820e995 100755 --- a/doc/mdate-sh +++ b/doc/mdate-sh @@ -63,7 +63,7 @@ day=$2 # Here we have to deal with the problem that the ls output gives either # the time of day or the year. case $3 in - *:*) set `date`; year=$7 + *:*) set `date`; year=$6 case $2 in Jan) nummonthtod=1;; Feb) nummonthtod=2;;