projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regex.m4: correct the reversed range endpoint ([b-a]) test
[gnulib.git]
/
build-aux
/
mdate-sh
diff --git
a/build-aux/mdate-sh
b/build-aux/mdate-sh
index
757a5dc
..
c477512
100755
(executable)
--- a/
build-aux/mdate-sh
+++ b/
build-aux/mdate-sh
@@
-1,15
+1,15
@@
#!/bin/sh
# Get modification time of a file or directory and pretty-print it.
#!/bin/sh
# Get modification time of a file or directory and pretty-print it.
-scriptversion=20
07-03-30.02
+scriptversion=20
10-02-22.21; # UTC
-# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007
Free Software
-# Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007
, 2009, 2010
+# F
ree Software F
oundation, Inc.
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version
3
, or (at your option)
+# the Free Software Foundation; either version
2
, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# any later version.
#
# This program is distributed in the hope that it will be useful,
@@
-38,7
+38,8
@@
case $1 in
cat <<\EOF
Usage: mdate-sh [--help] [--version] FILE
cat <<\EOF
Usage: mdate-sh [--help] [--version] FILE
-Pretty-print the modification time of FILE.
+Pretty-print the modification day of FILE, in the format:
+1 January 1970
Report bugs to <bug-automake@gnu.org>.
EOF
Report bugs to <bug-automake@gnu.org>.
EOF
@@
-200,5
+201,6
@@
echo $day $month $year
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
# End: