CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [BillKSmith] Wrapper around the UNIX find | xargs grep: Edit Log



panicz
Novice

Jan 28, 2013, 10:20 AM


Views: 1570
Re: [BillKSmith] Wrapper around the UNIX find | xargs grep

Well, actually parsing the command line is the key theme here -- whether I invoke GNU find, or implement my own find in perl, is not that important, and it makes no difference except that the former is shorter and probably less portable.

Besides, of course I could use Getopt::Long as you suggest, but again -- that's not what I want. I don't want to have to precede my preopositions with '--', because I find it redundant and uncomfortable. I'm looking for the best solution to the problem that I described, not for a description of a similar problem that would be easier to solve (although I do appreciate your suggestion). Or, to put it more generally, I don't want to bend myself to the limitations of particular computer systems, but I prefer to bend the computer systems to my will.


(This post was edited by panicz on Jan 28, 2013, 10:26 AM)


Edit Log:
Post edited by panicz (Novice) on Jan 28, 2013, 10:26 AM
Post edited by panicz (Novice) on Jan 28, 2013, 10:26 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives