Article View: comp.unix.shell
Article #95Re: How to compile a shell script?
From: Randal L. Schwartz
Date: Tue, 21 Jul 1992 16:01
Date: Tue, 21 Jul 1992 16:01
18 lines
1312 bytes
1312 bytes
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!"
Technical Details
Message-ID:
<MERLYN.92Jul21090055@romulus.reed.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!reed!romulus!merlynReferences:
<1992Jul21.121804.24643@cis.ohio-state.edu> <14h0jrINNvd@betty.cs.widener.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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