[comp.unix.wizards] perl scripts

merlyn@intelob.intel.com (Randal L. Schwartz @ Stonehenge) (02/18/89)

In article <4435@jpl-devvax.JPL.NASA.GOV>, lwall@jpl-devvax (Larry Wall) writes:
[nifty perl script deleted]
| The script could of course be modified to be verbose, or to confirm, or
| to get filenames from find, or to not wipe out existing files.  For that
| matter, you could probably modify it into a C compiler if you tried hard
| enough.  :-)

<grin>

how about...

	#!/usr/bin/perl
	exec 'cc',@ARGV;

I didn't have to try very hard.  Accepts all the arguments of /bin/cc, too!

Feeling weird enough to post this...
-- 
Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095
on contract to BiiN (for now :-), Hillsboro, Oregon, USA.
ARPA: <@intel-iwarp.arpa:merlyn@intelob> (fastest!)
MX-Internet: <merlyn@intelob.intel.com> UUCP: ...[!uunet]!tektronix!biin!merlyn
Standard disclaimer: I *am* my employer!
Cute quote: "Welcome to Oregon... home of the California Raisins!"