for what it is worth, you can also use ` within ‘ quotes without it being rendered on the command line
so
salt \* cmd.run 'for STR in `hostname`; do echo $STR; done'
Should work without issue.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/1174a5d9-da7e-456d-9d68-fdef9410aa94n%40googlegroups.com.