cea-hpc / clustershell

Scalable cluster administration Python framework — Manage node sets, node groups and execute commands on cluster nodes in parallel.
https://clustershell.readthedocs.io/
423 stars 85 forks source link

Set separation character when using nodeset -e #39

Closed thiell closed 12 years ago

thiell commented 12 years ago

Allow the user to set the separation character when using nodeset --expand, defaulting to a space character. For example, this feature will avoid the use of tr in scripts like : nodeset -e ... | tr ' ' ','

(PhG request)

thiell commented 12 years ago

[st-cea] Added to current 1.2 trunk as follow in r175 (for inclusion in 1.2 beta1).

{{{ --separator=, -S Use specified separator string when expanding nodesets (default is ' '). }}}