cea-hpc/clustershell — Issue #25: Simple quote escape conflict
Author: thiell
Created: 2012-03-03 16:45:10+00:00
State: open
Labels: Lib/Worker

There is a problem with simple quote escaping with clush when using sed for example:

{{{
[root@fortoy0 ~]# clush -w fortoy55 "echo \\$HOSTNAME | sed 's/\\ fortoy55/fortoy/' "
fortoy55: sed: -e expression #1, char 2: unterminated `s' command
clush: fortoy55: exited with exit code 1
}}}