Find the answer to your Linux question:
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 ...
  1. #1
    Just 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.

  2. #2
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225
    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 you
    There are people trying to avoid mistakes and another that tries to target.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...