Heh, well the thing with single quotes is - those will make *all*
characters be interpreted literally, including the backslashes.

So it's pretty hard to include a single quote in a single quoted string.
You end up with pretties like

echo 'It'"'"'s working!'

Though I may be missing a popular workaround I'm not aware of ;-)

Cheers,
Felix

On 02/06/2014 10:58 AM, zerozerouno...@gmail.com wrote:
> And for some reason bash did not interpret the following alternative
> version as I expected it to:
> 
>> puppet apply -e 'user { \'testuser\': password =>
> \'$1$RCxCmL.x$MRHrLKqYpha19ERGC/5FQ/\' }'
> 
> Marco

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/52F360A8.1050304%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to