• 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: Can't pipe files to compileHelp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't pipe files to compileHelp


  • Subject: Re: Can't pipe files to compileHelp
  • From: Cameron Hayne <email@hidden>
  • Date: Sun, 4 Aug 2002 10:32:28 -0400

On Sunday, August 4, 2002, at 10:04 am, Bill Cheeseman wrote:
You could do your example using xargs like this:
ls *Help.rtf | xargs compileHelp -o Help.plist

Thanks. Andy's first solution is a little better for compileHelp, because
compileHelp actually needs as input both rtf and rtfd files. Piping with
xargs would have to be done in two commands to accomplish that.

What's wrong with:
ls *Help.rtf *Help.rtfd | xargs compileHelp -o Help.plist

But, apart from that, why do you say that xargs is possibly a better way?

Not likely relevant in this case, but xargs has facilities to handle large amount of input (e.g. lots of Help* files). And it is more general in that you could be generating your list of Help* filenames in some other way and the xargs solution would still work.

--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Can't pipe files to compileHelp
      • From: Bill Cheeseman <email@hidden>
    • Re: Can't pipe files to compileHelp
      • From: Andy Lee <email@hidden>
References: 
 >Re: Can't pipe files to compileHelp (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Wring code without interface builder
  • Next by Date: NSDate XML Format
  • Previous by thread: Re: Can't pipe files to compileHelp
  • Next by thread: Re: Can't pipe files to compileHelp
  • Index(es):
    • Date
    • Thread