RE: unix shell script question

2003-07-15 Thread Hitchman, Peter
Hi, This works in ksh: DBNAME=PROD LINE_PROD=500 OTHER=\${LINE_${DBNAME}} eval echo $OTHER Regards Pete [END] -Original Message- Sent: 15 July 2003 11:35 To: Multiple recipients of list ORACLE-L Hi List, The requirement is as follows: DBNAME=PROD ( 'DBNAME'

RE: unix shell script question

2003-07-15 Thread Stephen Lee
Something else for people who are bored: If I may ASS-U-ME that your ultimate goal is to have variables like: LINE_THIS LINE_THAT LINE_THE_OTHER_THING and you want to be able to change what is after the LINE part, if you have genuine ksh93, and you like playing around with scripting stuff, then