Unga wrote:
--- On Mon, 5/25/09, Matthew Seaman <m.sea...@infracaninophile.co.uk> wrote:
Here is what happens in bash shell: $ echo "${X}" > ${Z} bash: ${Z}: ambiguous redirect
So, what's the value of ${Z}? Unless that expands to something that could be a valid file name you'll get an error message of some sort. hint: add set -x somewhere towards the top of the script and it will print a lot of debug output as it runs. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW
signature.asc
Description: OpenPGP digital signature