Absolute paths in perl and tcl scipts on HP-UX

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Absolute paths in perl and tcl scipts on HP-UX

  • Creator
    Topic
  • #50992
    Ron Archambault
    Participant

      We have several perl and tcl scripts that run in cron as well as some of our daily routines.

      I

    Viewing 1 reply thread
    • Author
      Replies
      • #68321
        Jim Kosloskey
        Participant

          here is what we do and this seems to make our Tcl code release independent (at least for starting):

          #!/usr/bin/ksh

          # this line to escape the next line from the tcl interpreter

          exec hcitcl “$0” “$@”

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #68322
          Ron Archambault
          Participant

            Thanks Jim,

            I’ll try this one too

            Ron

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.