Please, post the exact command line you've used along with the assignments of BASENAME, STARTDIR, ENDDIR. On my system it works fine:
Code:
$ BASENAME=test |
Hi, this is what I punched in:
Code:
mojoman@jukejoint:~/new$ BASEDIR=test Code:
mojoman@jukejoint:~/new$ bash --version Thanks |
Hi.
In many cases, nounset is a good friend: Code:
#!/bin/bash3 - Code:
% ./user3 |
Code:
./user3: line 14: BASENAME: unbound variable |
Quote:
Thanks! That was it. I don't know how I missed it. I appreciate you giving your time, effort and expertise. I'll also be using the nounset option in the future... Cheers! |
All times are GMT -5. The time now is 12:01 PM. |