ProcessID in *nix

Bob Stockler bob at trebor.iglou.com
Wed Jun 23 11:13:40 PDT 2004


On Wed, Jun 23, 2004 at 12:38:55PM -0400, Mark Luljak wrote:
| At Wed, Jun 23, 2004 at 12:33:26PM -0400 or thereabouts, 
| suspect Bob Stockler was observed uttering:
| > 
| > /usr/local/bin/getppid:
| > 
| >   #!/bin/ksh
| >   print $PPID
| 
| Also available in bash (1.x and 2.x).  However, it's -not- available in
| straight Bourne, at least on Solaris.

Not in any version of the Bourne shell that I know of.

And (if chmod isn't a problem on the system) the script
can be written by the processing table, and needn't be
in existance beforehand.

I have several tables using USER, where the exact script
to be executed by it is dependent on variables in the
table, so I write it from the table, then remove it when
USER is through with it.

Bob

-- 
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).


More information about the Filepro-list mailing list