Github user thushara35 commented on the pull request:

    https://github.com/apache/stratos/pull/54#issuecomment-56642915
  
    In my background search i found that sed -r option is not available in mac 
osx(not included in mac osx sed manual)
    
    (below the result in ubuntu)
    $ man sed
    -r, --regexp-extended
    
                  use extended regular expressions in the script.
    
    (man result in mac)
    $ man sed
    -E      Interpret regular expressions as extended (modern) regular 
expressions rather than basic regular expressions (BRE's).  The re_format(7) 
manual page fully describes both formats.
    
    In mac os x we can use -E instead of -r if so we need to have two 
configuration folders, one for ubuntu and other one for mac(may be more in 
future). This is a maintenance overhead IMO and not best practice. It will be 
better if we move forward with gsed since it is same as sed we use in unix 
systems.



---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to