Yeah, I actually had to stumble over this recently introduced buglet;
Tru64 sed interprets everything between the first 't' and newline/end
of script as a label, then complains about the label being longer than
6 characters. :-/
(Of course this is all duly documented in the Autoconf manual section on
shell portability).
Pushed both branches.
Cheers,
Ralf
Fix nonportable sed script in 'missing'.
* lib/missing: In sed script, do not use ';' after 't' commands.
diff --git a/lib/missing b/lib/missing
index 4758c82..32e23d2 100755
--- a/lib/missing
+++ b/lib/missing
@@ -1,7 +1,7 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2008-11-24.07
+scriptversion=2008-12-13.14
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008 Free Software Foundation, Inc.
@@ -108,7 +108,10 @@ Send bug reports to <[email protected]>."
esac
# normalize program name to check for.
-program=`echo "$1" | sed 's/^gnu-//; t; s/^gnu//; t; s/^g//; t'`
+program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
# Now exit if we have it, but it failed. Also exit now if we
# don't have it and --version was passed (most likely to detect