in reply to Re: Using pipes to combine scripts
in thread Using pipes to combine scripts

I know that. But it was a nice discovery for me last night, therefore I figured it would be a nice discovery for others as well.

But it is not a cool use for Perl. It's just shell interaction, and of a widely known kind. Look up google for "toolbox philosophy".

Replies are listed 'Best First'.
Re^3: Using pipes to combine scripts
by esk555 (Beadle) on Nov 18, 2006 at 19:06 UTC
    Correction: it wasn't a cool use for you. It was, however, a
    cool use for me, and possibly others who are not experts at Unix.
      Correction: it wasn't a cool use for you. It was, however, a cool use for me, and possibly others who are not experts at Unix.

      The point I was trying to make (see <em>phasis on Perl) is that however cool that may be from your, or anyone else's, POV including mine, it has nothing to do with Perl itself. There are tons of things that are cool for me, some of which are appliable also to perl scripts, but such that the perlishness of the latter ones plays no role whatsoever in their coolness.

      Also, while none of us all was born learnt at anything, and I can appreciate your enthusiasm which reminds me of my own whenever I discover something new, this is hardly a thing for "unix experts". Indeed I'd rather rate it around the ABC of shell (not only *NIX ones!) interaction, i.e. a "@{[('very') x 5]}" elementary thing, which I suppose is the reason why it was unvoted so much.

        That is, IMO, a limitation of this site. The coding tip from esk555 is indeed not a "Cool Use For Perl", but OTOH there is no section here for mere "Practical Tips For Perl Programmers". So he had to put it here, by lack of a better place. (where else... Code Catacombs? Snippets?)

        The real irony, to me, is that if he had posted the exact same node as a reply to a SoPW question "How can I combine scripts on the same command line?", it probably would have gotten a lot of upvotes. There regularly are nodes of this type, in Daily Best Nodes.

        p.s. His tip is indeed worthwhile for Windows programmers, who aren't used to this kind of thing. The only tools that I know of on Windows that commonly used in this way, are ports of Unix utilities, such as UnxUtils.

        Not to be difficult, but merely to counterpoint: Not everyone
        on the site uses Unix, and thus would possibly not be used to
        what is second nature to people like you. Granted, the majority
        of people on the site will be Unix users, but I want
        my posts to be for everyone, not merely the advanced majority.
        I hope that doesn't sound bad, it's a mere statement
        of fact.