2011/3/27 Joachim Breitner <[email protected]>:
> No, this line is safe with
> $ fgrep -qx "$USER" present
>
> Thanks to the quotes around $USER, the `...` part would not be executed.

Hmm... you are right. Bash seems enclose variable expansions with
single quotes by default in case the value contains special characters
nowadays. See:

http://pastebin.com/gxUeGyhx

Binand
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to