BOURNE/KORN Shell Compiler

BOURNE/KORN Shell Compiler

Post by Will Raymo » Fri, 31 Aug 1990 15:18:44



Hello Unix Netters,

        I know there's got to be a compiler for Korn or Bourne Shell scripts
        out there that emits i386 code or maybe a translator that emits
        C-code....Or is it wishful thinking?

        Thank-you for your help,

    *******       Will Raymond - Northern Telecom NTP in RTP
|  | ~   ~ |  |
   . O   o .      I speak for myself.
|     .V.     |  
     ._ _.        "A day without sunshine is a day
|      U      |                                         and night and day....at work."        

 
 
 

1. Trying to run nohup from Korn shell but getting Bourne shell errors

Help! Duh!
I would like to run a process in background with nohup on a
SOLARIS 2.3. How can I get the korn shell script detectsetup
to be interpreted under ksh.

In Korn shell I attempted...

$ /bin/ksh -c "/usr/bin/nohup /export/home/setupin/detectsetup&"

$ [1]   15276

$ Sending output to nohup.out

Checking the process I find....

USER   PID    PPID COMMAND
pagein 15414     1 sh /export/home/setupin/detectsetup
                            ^
                           | Why not Korn shell

My nohup.out file errors indicate Bourne shell is interpreting Korn shell
script (doesn't understand integer or [[).      

2. Exabyte 8200s supported?

3. Telling Bourne shell from Korn shell at start-up

4. Linux 2.2.14 as a router

5. Shell Compilers, specifically Korn Shell

6. MetroX and Stealth 3D 2000

7. Light Speed Bourne Shell! (was: Bourne shell tricks)

8. capturing stdin && stdout

9. best korn shell resources and is there a korn shell faq

10. Korn/Bourne shell return code precision

11. How to pipe stderr to a command in Bourne or Korn shell

12. bourne and korn shell incompatibilities

13. Looking for simple Bourne/Korn shell FIFO queue mechanism :-|