If you wish to execute a UNIX shell command within a C program, you have
different C commands to facilitate the process:
        1.  Use the system command (ie.  system ("ls -lt");
        2.  Use the exec command (ie. exec[l,v,le,ve,lp]
        3.  Use popen()
Man pages are available for all these commands.  Blake also mentioned a
utility called bperl that will convert Perl code to C code.
Thanks to:
Joseph P. Hall
Angel G. Martinez
Dr. Thomas P. Blinn
Burch Seymour
Blake Roberts
Gyula Szokoly
and numerous others...
John H. Warren
Computer Operations Manager
IT Department, ESCO Corporation
(503)778-6278 (Computer Room)
(503)778-6513 (Office)
jhwarren_at_escocorp.com
http://www.escocorp.com
Received on Tue Jun 30 1998 - 03:03:42 NZST