home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.shell:3077 comp.lang.perl:4847
- Path: sparky!uunet!ogicse!reed!romulus!merlyn
- From: merlyn@romulus.reed.edu (Randal L. Schwartz)
- Newsgroups: comp.unix.shell,comp.lang.perl
- Subject: Re: How to compile a shell script?
- Message-ID: <MERLYN.92Jul21090055@romulus.reed.edu>
- Date: 21 Jul 92 16:01:00 GMT
- Article-I.D.: romulus.MERLYN.92Jul21090055
- References: <1992Jul21.121804.24643@cis.ohio-state.edu> <14h0jrINNvd@betty.cs.widener.edu>
- Sender: news@reed.edu (USENET News System)
- Organization: Reed College
- Lines: 18
- In-Reply-To: brendan@cs.widener.edu's message of 21 Jul 92 12:40:27 GMT
-
- In article <14h0jrINNvd@betty.cs.widener.edu> brendan@cs.widener.edu (Brendan Kehoe) writes:
- Someday someone will write sh2perl. (Note you'd probably only really
- win on things that were more procedurally heavy than exec'ing a lot of
- different shell commands for various things.)
-
- OK, here's sh2perl: :-)
-
- #!/usr/bin/perl
- print "#!/usr/bin/perl\nsystem <<'UnlikelyString'\n",<>,"\nUnlikelyString\n";
-
- There. Too easy. :-)
-
- print "Just another Perl hacker," # in chicago. can't be creative. :-)
-
- --
- Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
- merlyn@reed.edu (guest account) merlyn@ora.com (better for permanent record)
- cute quote: "Welcome to Portland, Oregon -- home of the California Raisins!"
-