I did get a bad interpreter error, which is covered here:
viewtopic.php?t=32380
So this would be in the PDF opened in CentOS PDF reader and the user copies it so it can be saved as a bash script:
For best results in terms of no errors, should this be copied from the PDF into Vim, Nano, or another Linux text editor? The PDF would be opened in CentOS for example. If I copy this file in Windows from the PDF to Notepad++, there is a CRLF at each end. Does this become the proper LF in Linux?# Provide paths to a Cadence application
PATH=$PATH:/home/administrator/cadence/installs/IC618/bin
PATH=$PATH:/home/administrator/cadence/installs/GENUS211/bin
PATH=$PATH:/home/administrator/cadence/installs/INNOVUS211/bin
export PATH
Another thing I found is that I did not get the 'ksh' installed automatically, so I had to install that. When I tried executing a command like 'genus', which is an installed Cadence package, I got the following:
"WARNING: not possible to detect OS, missing lsb_release command!'
I looked up the lsb_release and installed that to.
https://www.thegeekdiary.com/lsb_releas ... ntos-rhel/
It seems I should put in my instructions to make sure that 'ksh' and 'lsb_release' is installed. That seemed to fix my issue with bringing up 'genus' and another package executed by command line.
I noted that from reading things online, a 'cat -A' will show the above script for example and each line will have a '$' at the end which I take for the proper unix end of line if the file is made in Vim or another Linux text editor.
I'm trying to understand better this vital nitpicky detail because there seems to be more than one reason to get errors like 'bad interpreter' or the 'lsb_release' issue. Maybe this not the case, so I'm trying to understand how this works.