Results 1 to 2 of 2
I have a customer with an older system running SCO Openserver 5.0.6. The original SCO package came with a tape file that we can no longer read.
I have just ...
- 10-04-2010 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 10
Scripting Question
I have a customer with an older system running SCO Openserver 5.0.6. The original SCO package came with a tape file that we can no longer read.
I have just completed cloning the disk so we have a newer drive, but I would like to try to run the application under Linux, either Fedora or CentOS. The problem I have right now is with some of the scripts.
I have one SCO script (sh shell) that has the following:
# where progress is installed
DLC=${DLC-/usr/dlcrt};export DLC
Everything is OK except the =${DLC-/usr/dlcrt}. I have done a little scripting, but this structure is new to me and I am not able to find anything on the web about it. It appears to be some sort of an expansion, but I am not sure.
Any help appreciated.
- 10-05-2010 #2
Hi,
i dont understand what you want to do, but scripts i know is using:
i.e.
exec_prefix=${input_option_exec_prefix-${input_option_prefix-${this_exec_prefix:-${prefix}}}}
another one:
m_chartype=${input_option_chartype:-'(unicode|ansi)'}
I hope this help youThere are people trying to avoid mistakes and another that tries to target.


Reply With Quote