From f6c9735122d3a3215e6eacaf2cfee129ae11b67c Mon Sep 17 00:00:00 2001 From: Michael Haubenwallner Date: Fri, 11 Mar 2016 09:37:00 +0100 Subject: [PATCH] options-parser: fix --version parsing with AIX sed * build-aux/options-parser (func_version): Shorten sed-labels to 8 characters. The sed-command has to immediately follow the selection-command. * bootstrap: Regenerate. --- bootstrap | 10 +++++----- build-aux/options-parser | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bootstrap b/bootstrap index 60de76b..306f83e 100644 --- a/bootstrap +++ b/bootstrap @@ -2302,20 +2302,20 @@ func_version () /^# Written by /!b s|^# ||; p; n - :fwd2blank + :fwd2blnk /./ { n - b fwd2blank + b fwd2blnk } p; n - :holdwarranty + :holdwrnt s|^# || s|^# *$|| - /^Copyright /! { + /^Copyright /!{ /./H n - b holdwarranty + b holdwrnt } s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| diff --git a/build-aux/options-parser b/build-aux/options-parser index 54fd3b0..eb1da25 100644 --- a/build-aux/options-parser +++ b/build-aux/options-parser @@ -651,20 +651,20 @@ func_version () /^# Written by /!b s|^# ||; p; n - :fwd2blank + :fwd2blnk /./ { n - b fwd2blank + b fwd2blnk } p; n - :holdwarranty + :holdwrnt s|^# || s|^# *$|| - /^Copyright /! { + /^Copyright /!{ /./H n - b holdwarranty + b holdwrnt } s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|