incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <>
Subject [jira] [Resolved] (COUCHDB-1628) THANKS generation uses a non-portable sed extended regexp flag
Date Fri, 04 Jan 2013 17:20:12 GMT


Jan Lehnardt resolved COUCHDB-1628.

       Resolution: Fixed
    Fix Version/s: 1.3

Applied with slight modification to 1.3.x:
and master:

> THANKS generation uses a non-portable sed extended regexp flag
> --------------------------------------------------------------
>                 Key: COUCHDB-1628
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Build System
>            Reporter: Christopher Bonhage
>            Assignee: Jan Lehnardt
>             Fix For: 1.3
>         Attachments: 0001-Fix-BSD-GNU-sed-extended-regex-flag-inconsistency.patch
> The bootstrap script currently generates a THANKS file by grepping through the git shortlog
and running an extended regular expression command on the resulting stream using sed (line
> git shortlog -se 6c976bd..HEAD \
>         | grep -v \
>         | sed -E "s/^[[:blank:]]{5}[[:digit:]]+[[:blank:]]/ * /" >> THANKS
> BSD sed uses the '-E' option to interpret regular expressions as extended (modern) regular
expressions rather than basic regular expressions (BRE's). GNU sed uses the '-r' option for
this behavior.
> The bootstrap script should be modified to detect the proper flag to use. I am currently
using a patch which checks the system's uname to determine the flag.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message