brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geomacy <...@git.apache.org>
Subject [GitHub] brooklyn-library issue #76: Tweak to password change effector so that sed id...
Date Fri, 25 Nov 2016 11:25:37 GMT
Github user geomacy commented on the issue:

    https://github.com/apache/brooklyn-library/pull/76
  
    👍  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.
---

Mime
View raw message