From 8a756fd1279b18e3e12aaf3b59d6c00e095ce113 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 15 Mar 2002 17:07:58 +0000 Subject: [PATCH] Prefer sed to head. --- misc/ChangeLog | 6 ++++++ misc/gettextize.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/misc/ChangeLog b/misc/ChangeLog index 787d7188b..9a6d1c44d 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,9 @@ +2002-03-15 Bruno Haible + + * gettextize.in: Use "sed -e 1q" instead of "head -1", for compliance + to pure naked POSIX 1003.1-2001 environments. + From Paul Eggert. + 2002-03-14 Karl Eichwalder * po-mode.el (po-team-name-to-code): Add es_AR, zh_CN, and zh_TW. diff --git a/misc/gettextize.in b/misc/gettextize.in index 1b74d1b96..05e284796 100644 --- a/misc/gettextize.in +++ b/misc/gettextize.in @@ -200,7 +200,7 @@ for file in *; do { $echo "Copying file $file"; cp $file $srcdir/$file; } ;; config.rpath) - auxdir=`cat $srcdir/$configure_in | grep '^AC_CONFIG_AUX_DIR' | sed -n -e 's/AC_CONFIG_AUX_DIR(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' | head -1` + auxdir=`cat $srcdir/$configure_in | grep '^AC_CONFIG_AUX_DIR' | sed -n -e 's/AC_CONFIG_AUX_DIR(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' | sed -e 1q` if test -n "$auxdir"; then auxdir="$auxdir/" fi -- 2.47.2