Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site amdahl.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!sun!amdahl!sjl
From: sjl@amdahl.UUCP (Steve Langdon)
Newsgroups: net.micro.mac
Subject: argc and argv on the Mac
Message-ID: <687@amdahl.UUCP>
Date: Thu, 6-Dec-84 19:46:40 EST
Article-I.D.: amdahl.687
Posted: Thu Dec  6 19:46:40 1984
Date-Received: Sat, 8-Dec-84 05:19:26 EST
Distribution: net
Organization: Amdahl Corp, Sunnyvale CA
Lines: 15

I have been using Mac C from Consulair for the last couple of months.
Unlike some of the other C compilers on the Mac, Mac C does not use a
pseudo UNIX environment.  This is fine with me most of the time, but
occasionally I would like to run programs that take argc argv style
arguments.  To solve this problem I have written a program which provides
a small subset of the shell's command line processing.  It will redirect
stdin and stdout, and do filename pattern matching.  If you are interested
in a copy send me some mail.  If there is enough interest I will post the
source.  While I highly recommend Mac C, those of you with other compilers
should be able to use the program without too much conversion effort.
-- 
Stephen J. Langdon                  ...!{ihnp4,hplabs,amd,nsc}!amdahl!sjl

[ The article above is not an official statement from any organization
  in the known universe. ]