home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / perl / 7596 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!west.West.Sun.COM!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!bodacia!patl
  2. From: patl@bodacia.Eng.Sun.COM (Pat Lashley)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: Help -- why doesn't it work?
  5. Date: 23 Dec 1992 21:35:58 GMT
  6. Organization: Sun Microsystems, Inc.
  7. Lines: 22
  8. Distribution: world
  9. Message-ID: <ljhmtuINN5dl@exodus.Eng.Sun.COM>
  10. References: <MERLYN.92Dec23081925@romulus.reed.edu>
  11. Reply-To: patl@bodacia.Eng.Sun.COM
  12. NNTP-Posting-Host: bodacia
  13.  
  14. In article 92Dec23081925@romulus.reed.edu, merlyn@ora.com (Randal L. Schwartz) writes:
  15. |>If you have Perl, why even use xargs?
  16. |>
  17. |>    ...
  18. |>
  19. |>There.  Two processes.  If you wanna even be weirder, use "find2perl"
  20. |>to do the whole thing in Perl.
  21.  
  22. When embedded in a perl script, you are absolutely right.  But from the
  23. command line, the `find ... | xargs ...' metaphor is easier to type than
  24. the equivalent "perl -e '...'" statement.  I probably should have made
  25. the distinction clear in my earlier message.
  26.  
  27.  
  28.  
  29. -Pat
  30.  
  31.  
  32. ---
  33. PMLashley    plashley@Sun.COM    SunSoft:NeWS/TNT
  34. "Those who do not understand NeWS are doomed to recreate it - badly"
  35.  
  36.