• 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: Bill Cheeseman <email@hidden>
  • Date: Sun, 04 Aug 2002 10:04:05 -0400

on 02-08-04 9:58 AM, Cameron Hayne at email@hidden wrote:

> Here's another, possibly better way.
> The 'xargs' utility is designed for exactly the situation you have
> encountered. (man 1 xargs).
> 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.

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

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
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: Cameron Hayne <email@hidden>
References: 
 >Re: Can't pipe files to compileHelp (From: Cameron Hayne <email@hidden>)

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