[
https://issues.apache.org/jira/browse/FLINK-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577189#comment-14577189
]
ASF GitHub Bot commented on FLINK-2174:
---------------------------------------
Github user mjsax commented on the pull request:
https://github.com/apache/flink/pull/796#issuecomment-109997007
No. The variable $SLAVE in unchanged... The comment line is not removed (I
just drop the else here and print $SLAVE after the if-then):
mjsax@T420s-dbis-mjsax:~$ SLAVE="#comment"; if [[ "$SLAVE" =~
^([0-9a-zA-Z/.-]+).*$ ]] ; then echo "${BASH_REMATCH[1]}"; fi; echo $SLAVE
#comment
> Allow comments in 'slaves' file
> -------------------------------
>
> Key: FLINK-2174
> URL: https://issues.apache.org/jira/browse/FLINK-2174
> Project: Flink
> Issue Type: Improvement
> Components: Start-Stop Scripts
> Reporter: Matthias J. Sax
> Assignee: Matthias J. Sax
> Priority: Trivial
>
> Currently, each line in slaves in interpreded as a host name. Scripts should
> skip lines starting with '#'. Also allow for comments at the end of a line
> and skip empty lines.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)