Module Name: src
Committed By: plunky
Date: Mon Mar 12 08:19:46 UTC 2012
Modified Files:
src/gnu/dist/groff: mdate.sh
Log Message:
format the generated manpage date as per Dd macro, for consistency
(although this field is a free-form footer, mandoc -Tlint warns about it)
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/gnu/dist/groff/mdate.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/gnu/dist/groff/mdate.sh
diff -u src/gnu/dist/groff/mdate.sh:1.1.1.2 src/gnu/dist/groff/mdate.sh:1.2
--- src/gnu/dist/groff/mdate.sh:1.1.1.2 Mon Jun 30 17:51:43 2003
+++ src/gnu/dist/groff/mdate.sh Mon Mar 12 08:19:46 2012
@@ -38,5 +38,5 @@ NR == 2 {
}
else
year = $(NF-1);
- print $(NF-2), full[$(NF-3)], year
+ printf "%s %d, %d", full[$(NF-3)], $(NF-2), year
}'