SUMMARY - ksh query

From: Rob Wilson <rawilson_at_subcorp.com.au>
Date: Mon, 28 Sep 1998 10:29:41 +0930

Here is the original question.

--------------------------------------
Date: 10/8/98 17:17
From: Rob Wilson
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

------------------------------------------------------------
Solution
--------

This was resolved after applying the ksh patches in Patch Kit0008 for DU4.0B

Rob Wilson
Received on Mon Sep 28 1998 - 01:02:37 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT