• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using NSTask and NSPipe to perform a shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSTask and NSPipe to perform a shell script


  • Subject: Re: Using NSTask and NSPipe to perform a shell script
  • From: "Jordan Krushen" <email@hidden>
  • Date: Tue, 5 Sep 2006 18:44:20 -0700

On 9/5/06, David Emme <email@hidden> wrote:

On Sep 5, 2006, at 3:59 PM, Keith Blount wrote:
> cat readme.markdown | md2latex.sh > somefile.tex

Are you sure that you really need the "cat..." step? Often people do
        cat foo | bar >out

when all they really need is
        bar <foo >out

Indeed. This is known as a Useless Use of Cat.

Other info and examples of UUOCs for the curious:
 http://www.google.com/search?q=useless+use+of+cat

J.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Using NSTask and NSPipe to perform a shell script (From: Keith Blount <email@hidden>)
 >Re: Using NSTask and NSPipe to perform a shell script (From: David Emme <email@hidden>)

  • Prev by Date: Re: Shift-clicking NSButtonCells?
  • Next by Date: Selection marquees (rubberband selection?)
  • Previous by thread: Re: Using NSTask and NSPipe to perform a shell script
  • Next by thread: Is it possible that PreferencePane's share "classes name space"?
  • Index(es):
    • Date
    • Thread