You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by geomacy <gi...@git.apache.org> on 2016/11/25 11:25:37 UTC

[GitHub] brooklyn-library issue #76: Tweak to password change effector so that sed id...

Github user geomacy commented on the issue:

    https://github.com/apache/brooklyn-library/pull/76
  
    \U0001f44d  LGTM, tested the sed commands generated by the above with values `te\sty` and `te/sty` and both are handled correctly:
    ```
    vagrant@byon5:~$ sed -i'' -e 's/^\(\s*password\s*=\s*\).*$/\1te\\sty/g' mymysql.cnf
    vagrant@byon5:~$ 
    vagrant@byon5:~$ 
    vagrant@byon5:~$ cat mymysql.cnf 
    password = te\sty
    
    vagrant@byon5:~$ sed -i'' -e 's/^\(\s*password\s*=\s*\).*$/\1te\/sty/g' mymysql.cnf
    vagrant@byon5:~$ 
    vagrant@byon5:~$ cat mymysql.cnf 
    password = te/sty
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---