My sh2perl came from a codification of a joke that I had used in my llama class from about 1994 onward.
The joke originated because I had "Sadly, there is no sh2perl" on my page that talked about "a2p" and "s2p", but I wanted to say more about that. So I added that there was a FAQ entry about that (in the very old FAQ) saying that "firstname.lastname@example.org" had been set up as a mail server to translate shell to Perl, and then explained why that was a joke. But I kept embellishing (as I do with the oldest jokes in the courseware) to say that all you really need to do is change:
and your shell script "became" a Perl script.
My sh2perl joke just does that automatically, after having suggested that in class for many years.
There was never a version that mailed it to email@example.com... that was only a reference to the old FAQ that somehow got mangled together with my current implementation.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||