On Feb 19, 2005, at 23:19, Sune Foldager wrote:
Oh.. we can't. The quotes are taken as part of the name, since bash doesn't do any further processing on expanded variables.
Actually, bash is quite inconsistent. I _does_ split up text in expanded variables as normal
Indeed it is, cause something like this:
foo='this is a spaced variable' xargs <<<$foo -n1 echo
actually works fine, whereas one would think it should be:
xargs <<<"$foo" -n1 echo
Maybe there is something similar to “precedence” rules for bash? ;)