From 1c4ecd2a955ec5b11d88ea653ce001e63f20bd26 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 25 Apr 1996 04:28:22 +0000 Subject: [PATCH] Get year as last rather than 6th field in output of date. Otherwise, people with 2-word TZ (like `MET DST') lost. --- doc/mdate-sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/mdate-sh b/doc/mdate-sh index 4f3820e995..9249f163ef 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=$6 + *:*) set `date`; eval year=\$$# case $2 in Jan) nummonthtod=1;; Feb) nummonthtod=2;; -- 2.47.2