~logan/ubuntu/trusty/pinentry/0.8.3-1ubuntu1

« back to all changes in this revision

Viewing changes to doc/mdate-sh

  • Committer: Bazaar Package Importer
  • Author(s): Peter Eisentraut
  • Date: 2005-01-27 19:10:07 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050127191007-83ptn4mcw63mu085
Tags: 0.7.2-1
* New upstream release
* Added new -gtk2 flavor.
* Build dependencies revised accordingly.
* Added more copyright holders to debian/copyright.
* Removed compatibility symlinks.
* Converted to CDBS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
# Get modification time of a file or directory and pretty-print it.
 
3
 
 
4
scriptversion=2003-11-09.00
 
5
 
3
6
# Copyright (C) 1995, 1996, 1997, 2003  Free Software Foundation, Inc.
4
7
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
5
8
#
22
25
# configuration script generated by Autoconf, you may include it under
23
26
# the same distribution terms that you use for the rest of that program.
24
27
 
 
28
# This file is maintained in Automake, please report
 
29
# bugs to <bug-automake@gnu.org> or send patches to
 
30
# <automake-patches@gnu.org>.
 
31
 
 
32
case $1 in
 
33
  '')
 
34
     echo "$0: No file.  Try \`$0 --help' for more information." 1>&2
 
35
     exit 1;
 
36
     ;;
 
37
  -h | --h*)
 
38
    cat <<\EOF
 
39
Usage: mdate-sh [--help] [--version] FILE
 
40
 
 
41
Pretty-print the modification time of FILE.
 
42
 
 
43
Report bugs to <bug-automake@gnu.org>.
 
44
EOF
 
45
    exit 0
 
46
    ;;
 
47
  -v | --v*)
 
48
    echo "mdate-sh $scriptversion"
 
49
    exit 0
 
50
    ;;
 
51
esac
 
52
 
25
53
# Prevent date giving response in another language.
26
54
LANG=C
27
55
export LANG
131
159
 
132
160
# The result.
133
161
echo $day $month $year
 
162
 
 
163
# Local Variables:
 
164
# mode: shell-script
 
165
# sh-indentation: 2
 
166
# eval: (add-hook 'write-file-hooks 'time-stamp)
 
167
# time-stamp-start: "scriptversion="
 
168
# time-stamp-format: "%:y-%02m-%02d.%02H"
 
169
# time-stamp-end: "$"
 
170
# End: