summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorwl <wl>2009-09-22 09:42:00 +0000
committerwl <wl>2009-09-22 09:42:00 +0000
commit5f6aef2932aa0c70c14b82439311e9a9305d7f1f (patch)
tree519a12f7d9057c2f38e6f3ee4b1e14d82e7c3994 /contrib
parent979df74591ecc9c211df48c64228a50ee42d8fae (diff)
downloadgroff-5f6aef2932aa0c70c14b82439311e9a9305d7f1f.tar.gz
* contrib/gdiffmk/gdiffmk.sh: Don't use bash specific syntax.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gdiffmk/ChangeLog6
-rw-r--r--contrib/gdiffmk/gdiffmk.sh12
2 files changed, 11 insertions, 7 deletions
diff --git a/contrib/gdiffmk/ChangeLog b/contrib/gdiffmk/ChangeLog
index 71cfdf08..5fd4dc03 100644
--- a/contrib/gdiffmk/ChangeLog
+++ b/contrib/gdiffmk/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-22 Colin Watson <cjwatson@debian.org>
+
+ * contrib/gdiffmk/gdiffmk.sh: Don't use bash specific syntax.
+
2008-01-04 Werner LEMBERG <wl@gnu.org>
* gdiffmk.man: Replace .URL with .UR/.UE.
@@ -86,7 +90,7 @@
First import of gdiffmk files.
-Copyright 2004, 2005, 2006, 2007, 2008
+Copyright 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
diff --git a/contrib/gdiffmk/gdiffmk.sh b/contrib/gdiffmk/gdiffmk.sh
index fb5fdb72..ca161285 100644
--- a/contrib/gdiffmk/gdiffmk.sh
+++ b/contrib/gdiffmk/gdiffmk.sh
@@ -21,7 +21,7 @@
cmd=$( basename $0 )
-function Usage {
+Usage () {
if test "$#" -gt 0
then
echo >&2 "${cmd}: $@"
@@ -60,7 +60,7 @@ OPTIONS:
}
-function Exit {
+Exit () {
exitcode=$1
shift
for arg
@@ -75,7 +75,7 @@ function Exit {
#
# Check for existence and readability of given file name.
# If not found or not readable, print message and exit with EXIT_CODE.
-function FileRead {
+FileRead () {
case "$2" in
-)
return
@@ -97,7 +97,7 @@ function FileRead {
#
# Create the given filename if it doesn't exist.
# If unable to create or write, print message and exit with EXIT_CODE.
-function FileCreate {
+FileCreate () {
case "$2" in
-)
return
@@ -115,7 +115,7 @@ function FileCreate {
fi
}
-function WouldClobber {
+WouldClobber () {
case "$2" in
-)
return
@@ -136,7 +136,7 @@ DELETEMARK='*'
MARK1='[['
MARK2=']]'
-function RequiresArgument {
+RequiresArgument () {
# Process flags that take either concatenated or
# separated values.
case "$1" in