How to say this in Bash?

Jerry gesbbb at
Mon May 25 15:22:39 UTC 2009

On Mon, 25 May 2009 07:36:45 -0700 (PDT)
Unga <unga888 at> wrote:

>Here is what happens in bash shell:
>$ echo "${X}" > ${Z}
>bash: ${Z}: ambiguous redirect

Perhaps I am misinterpreting your question; however, if I define both
${X} and ${Z} in a script prior to running your snippet, I do not
receive any error message. Could you show more info on how you are
attempting to run this snippet?

gesbbb at

A sadist is a masochist who follows the Golden Rule.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list