in reply to Re: Lots and lots of arguments!
in thread Lots and lots of arguments!

You've never used grep on even 100 files? I often pass many hundreds of arguments to command-line programs.

But then, with a phrase like "four or five seems a bit on the outrageous side", I suspect that I have little idea what is really being talked about in the root node. :)

- tye        

  • Comment on Re^2: Lots and lots of arguments! (grep)

Replies are listed 'Best First'.
Re^3: Lots and lots of arguments! (grep)
by karlgoethebier (Abbot) on Dec 11, 2014 at 18:43 UTC

    Sometimes i wonder if a reply by you is an honor or a penalty.

    I think you mean something like: ./foo.pl a b c d e f g h (and many more).

    And me: ./foo.pl -a nose -b cuke -c foo -d bar | ./bar -t -A -e (and many more).

    "...a phrase like "four or five seems a bit on the outrageous side", I suspect that I have little idea what is really being talked about.."

    Aha. I see it clearly now. That means i don't have a little idea?

    Anyway, my best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

      karlgoethebier:

      I think it's more like this:

      find /some/place -type f -print0 | xargs -0 ./foo.pl

      I've already done that a dozen times today. I'd agree that typing in very many arguments by hand would be a PITA, but quite a few of us automate our already-automated tasks.

      ...roboticus

      When your only tool is a hammer, all problems look like your thumb.

        "...more like this"

        Yes sure. I surrender.

        May be i misunderstood the OP.

        I thought the problem was about having a command line like:

        ./myCommand -a foo -b bar -c nose -d cuke --penalty tye  -g lorem -h ipsum -l and perhaps 20 more?

        And this is a ugly command line interface.

        Thanks roboticus for clarifying and best regards, Karl

        «The Crux of the Biscuit is the Apostrophe»