tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Rob Wilson <rawilson () subcorp ! com ! au>
To: tru64-unix-managers
Subject: ksh query
Date: Mon, 10 Aug 1998 07:59:04 +0000	[thread overview]
Message-ID: <96078718211592.tru64-unix-managers.marc@archive.invalid> (raw)

G'Day gurus,

This is a wierd one.

Running ksh on DU 4.0B, type the following commands:

export A=3D$(dirname /usr/local/bin | tr "[a-z]" "[A-Z]")
echo $A
/USR/LOCAL

export A=3D$(dirname /usr/local/bin | tr "[A-Z]" "[a-z]")
echo $A


export A=3D$(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

                 reply	other threads:[~1998-08-10  7:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox