G'Day gurus,
This is a wierd one.
Running ksh on DU 4.0B, type the following commands:
export A=$(dirname /usr/local/bin | tr "[a-z]" "[A-Z]")
echo $A
/USR/LOCAL
export A=$(dirname /usr/local/bin | tr "[A-Z]" "[a-z]")
echo $A
export A=$(dirname /usr/local/bin | tr "[a-z]" "[A-Z]")
echo $A
Note that the second and third commands output nothing for A.
Note also that the first and third commands are the same.
Does anyone have an explanation?
Cheers
Rob WIlson
UNIX SYSTEM Administrator
Australian Submarine Corporation
Received on Mon Aug 10 1998 - 07:48:50 NZST