home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!west.West.Sun.COM!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!bodacia!patl
- From: patl@bodacia.Eng.Sun.COM (Pat Lashley)
- Newsgroups: comp.lang.perl
- Subject: Re: Help -- why doesn't it work?
- Date: 23 Dec 1992 21:35:58 GMT
- Organization: Sun Microsystems, Inc.
- Lines: 22
- Distribution: world
- Message-ID: <ljhmtuINN5dl@exodus.Eng.Sun.COM>
- References: <MERLYN.92Dec23081925@romulus.reed.edu>
- Reply-To: patl@bodacia.Eng.Sun.COM
- NNTP-Posting-Host: bodacia
-
- In article 92Dec23081925@romulus.reed.edu, merlyn@ora.com (Randal L. Schwartz) writes:
- |>If you have Perl, why even use xargs?
- |>
- |> ...
- |>
- |>There. Two processes. If you wanna even be weirder, use "find2perl"
- |>to do the whole thing in Perl.
-
- When embedded in a perl script, you are absolutely right. But from the
- command line, the `find ... | xargs ...' metaphor is easier to type than
- the equivalent "perl -e '...'" statement. I probably should have made
- the distinction clear in my earlier message.
-
-
-
- -Pat
-
-
- ---
- PMLashley plashley@Sun.COM SunSoft:NeWS/TNT
- "Those who do not understand NeWS are doomed to recreate it - badly"
-
-