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

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

Post by Bruce B. Lac » Wed, 10 Feb 1993 13:40:21



Does anyone know where I can get a hold of a Bourne/Korn shell script
that
impliments a straight-foward simple queue mechanism.  I want to enter
items into a queue during a job stream that will be processed in FIFO
order in the background.  For example, copying files to tape-why wait.

Thanks in advance.
+======================================================================+
| Bruce B. Lacey      -Technical Group Manager of Systems Engnineering |

| Van Nuys, CA  91406 -(818) 787-7380 ext. 295                         |
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+  
|     Specializing in massively parallel computing architectures.      |
+======================================================================+

 
 
 

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. Help to remove "\" from a MySQL statement in PHP

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

4. Is it possible to extend the number of Filedescriptors?

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

6. Ethernet installation

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

8. SuperVGA 72Hz Timers??

9. Korn/Bourne shell return code precision

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

11. BOURNE/KORN Shell Compiler

12. bourne and korn shell incompatibilities

13. Adv. Bourne/Korn Shell Class in Seattle