[
https://issues.apache.org/jira/browse/KAFKA-9699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056586#comment-17056586
]
qiang Liu commented on KAFKA-9699:
----------------------------------
considered replace -E with -r since GNU sed document say nothing about -E, it
tooks me some time to find out -E is same as -r, but someone say -E is more
portable than -r, then maybe it's better just not use -E nor -r, just escape
the parentheses, i will submit a pull request doing this change.
> kafka server fail to start due to old version of sed not support -E option
> when detect java version in kafka-run-class.sh
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-9699
> URL: https://issues.apache.org/jira/browse/KAFKA-9699
> Project: Kafka
> Issue Type: Improvement
> Components: admin
> Affects Versions: 2.4.0
> Environment: Red Hat Enterprise Linux Server release 5.6 (Tikanga)
> GNU sed version 4.1.5
> Reporter: qiang Liu
> Priority: Minor
>
> kafka server fail to start due to old version of sed not support -E option
> when detect java version in kafka-run-class.sh
> detail info as follows
> [~]$ sed --version
> GNU sed version 4.1.5
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
> to the extent permitted by law.
> [~]$ sed -E
> sed: invalid option -- E
--
This message was sent by Atlassian Jira
(v8.3.4#803005)