aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-11 13:25:48 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-11 17:41:43 +0100
commitbb26842d1c8f99c1267b45361a2fc76822c0f913 (patch)
tree534a2c7812f51bcaa11425573a3ca94c550f8f84 /util
parent178da24425dd9b26950dcdabb233d5564116a945 (diff)
downloadopenssl-bb26842d1c8f99c1267b45361a2fc76822c0f913.zip
openssl-bb26842d1c8f99c1267b45361a2fc76822c0f913.tar.gz
openssl-bb26842d1c8f99c1267b45361a2fc76822c0f913.tar.bz2
Some sed implementations are not greedy enough, use perl instead
The issue is demonstrated as follows: On Linux: $ echo ': foo.h /usr/include/stddef.h bar.h' | sed -e 's/ \/\(\\.\|[^ ]\)*//g' : foo.h bar.h On MacOS X: $ echo ': foo.h /usr/include/stddef.h bar.h' | sed -e 's/ \/\(\\.\|[^ ]\)*//g' : foo.husr/include/stddef.h bar.h Perl is more consistent: On Linux: $ echo ': foo.h /usr/include/stddef.h bar.h' | perl -pe 's/ \/(\\.|[^ ])*//g;' : foo.h bar.h On MacOS X: $ echo ': foo.h /usr/include/stddef.h bar.h' | perl -pe 's/ \/(\\.|[^ ])*//g;' : foo.h bar.h Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions