Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/groff format the generated manpage date as per Dd m...
details: https://anonhg.NetBSD.org/src/rev/c50f9e8e5b97
branches: trunk
changeset: 778010:c50f9e8e5b97
user: plunky <plunky%NetBSD.org@localhost>
date: Mon Mar 12 08:19:46 2012 +0000
description:
format the generated manpage date as per Dd macro, for consistency
(although this field is a free-form footer, mandoc -Tlint warns about it)
diffstat:
gnu/dist/groff/mdate.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (10 lines):
diff -r 03f471995484 -r c50f9e8e5b97 gnu/dist/groff/mdate.sh
--- a/gnu/dist/groff/mdate.sh Mon Mar 12 08:14:02 2012 +0000
+++ b/gnu/dist/groff/mdate.sh Mon Mar 12 08:19:46 2012 +0000
@@ -38,5 +38,5 @@
}
else
year = $(NF-1);
- print $(NF-2), full[$(NF-3)], year
+ printf "%s %d, %d", full[$(NF-3)], $(NF-2), year
}'
Home |
Main Index |
Thread Index |
Old Index