Hi Dirk,
This is a quite a good idea (to escape using ' rather than ").
I will try it.
Thanks a lot.
Sincerely,
Ghassen Cheinour.


On Mon, May 26, 2014 at 3:30 PM, Dirk Heinrichs <[email protected]> wrote:

>  Am 26.05.2014 15:24, schrieb Dirk Heinrichs:
>
> Am 26.05.2014 15:18, schrieb cheniour ghassen:
>
> i tried to escape but this doesn't work .
>
>
> Hmm, try awk \'...\', like shown 
> here<https://ask.puppetlabs.com/question/3020/execs-onlyif-not-playing-nicely-with-test/>
> .
>
>
> There's another solution 
> here<http://projects.puppetlabs.com/projects/1/wiki/Firmware_Password_Patterns>,
> which suggests to escape the subshell call (id = \$(...) in your case).
>
> And, you can always put all the commands into an external script and call
> that.
>
>
> Bye...
>
>     Dirk
> --
>
> *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions
> *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
> *Tel*: +49 2226 1596666 (Ansage) 1149
> *Email*: [email protected]
> *Skype*: dirk.heinrichs.recommind
> www.recommind.com
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/puppet-users/H6KH0v5ra0c/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/53834209.4050805%40recommind.com<https://groups.google.com/d/msgid/puppet-users/53834209.4050805%40recommind.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAE4v-KH1U1mv_oZXpsZuuJPYvEpNu1YKdQB_uNGLapcKYd0RBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to