in reply to RFC Using PERL HEREDOC script within bash

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^2: RFC Using PERL HEREDOC script within bash
by oiskuu (Hermit) on Aug 29, 2014 at 10:22 UTC

    Sir, your wisdom appears to contradict wikipedia, that specifically says this about Bourne shell (precursor to bash):

    Although it is used as an interactive command interpreter, it was also intended as a scripting language and contains most of the features that are commonly considered to produce structured programs.
    A reference is made to an article, and from this I again quote:
    The primary problem was to design the shell be a fully programmable scripting language that could also serve as the interface to users typing commands interactively at a terminal.

    Now the history and evolution of shells is quite an interesting topic. Please do not hesitate in providing references, should you be aware of any well-researched works on this subject matter.

    ps. Your exposition has vaguely reminded me of a magnificent oeuvre in quite a different field. Thoroughly recommendable, this.
Re^2: RFC Using PERL HEREDOC script within bash
by dcronin135 (Acolyte) on Aug 27, 2014 at 16:44 UTC

    No need for the nasty gram. Either use or don't use it. The submission was in response to others asking the question. Simply offers a method illustration, nothing more. And yes each shop has its coding conduct, no contest there.

Re^2: RFC Using PERL HEREDOC script within bash
by Anonymous Monk on Aug 27, 2014 at 19:27 UTC
    put #/usr/bin/perl right there on the “shebang” line

    I think #!/usr/bin/perl will work better...

Re^2: RFC Using PERL HEREDOC script within bash
by marto (Cardinal) on Aug 29, 2014 at 09:33 UTC