0 Replies Latest reply on Aug 2, 2006 6:29 AM by Piotr Wolak

    Grammar for sh script files

      Hi,

       

      I am trying to find a grammar to get names and values (separated by "=") from the following script:

       

      1. ----- BEGIN JVM VENDOR OPTIONS -----

      if [ -z "$

      " ]; then

      JVM_VENDOR="sun"

      fi

      1. ----- END JVM VENDOR OPTIONS -----

       

      1. ----- BEGIN COMMON JVM OPTIONS -----

      JVM_OPTIONS_SYSTEM_PROPERTIES="$

      -Djava.awt.headless=true"
      JVM_OPTIONS_SYSTEM_PROPERTIES="$
      -Dcom.sportex.homedir=$
      "

      JVM_OPTIONS_SYSTEM_PROPERTIES="$

      -DjiveHome=$
      /something/etc/jiveHome"

       

      If I use the regular name=value grammar it complains about duplicate records.

       

      Thanks and regards,

      Piotr