Larry Wall first came to the attention of the wider computing world as the author of patch and rn. The latter, the niftiest usenet news reader of its day, is rarely seen now, but patch is everywhere. In the days when programs were passed around in shar (shell archive) files via usenet, patches (diffs) were generally sent in usenet email, too. Larry made patch ignore anything that didn't look like a diff so you could pipe the message (out of rn, naturally) to patch and have it Do The Right Thing.

Though I can't prove it, (without working harder than I care to on a Sunday night) I'm pretty sure the -x switch in Perl harks back to this use of patch on usenet. Not that it isn't still useful, as others have noted.

"Even if you are on the right track, you'll get run over if you just sit there." - Will Rogers


In reply to Re: the -x command line parameter by hbo
in thread the -x command line parameter by Shenpen

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.