How do I get bash not to interpret the output of a backquote command?
Hello all,
I'm having trouble with a bash script. I have something like this:
export VAR=`command`
The problem is that "command" can return this: "** NONE **". bash will then replace each of the * by the list of files in the current directory.
I want the output to be uninterpreted (i.e. VAR should contain "** NONE **", not "list of files list of files NONE list of files list of files"). It shouldn't be hard but I am unable to figure it out, and I'm not sure how to phrase the problem, so Google wasn't much help either.
Thanks in advance!
|