Skip to content

Commit

Permalink
options-parser: fix --version parsing with AIX sed
Browse files Browse the repository at this point in the history
* build-aux/options-parser (func_version): Shorten sed-labels to 8
characters.
The sed-command has to immediately follow the selection-command.
* bootstrap: Regenerate.
  • Loading branch information
haubi committed Mar 11, 2016
1 parent eabfd9c commit f6c9735
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down
10 changes: 5 additions & 5 deletions build-aux/options-parser
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit f6c9735

Please sign in to comment.