Re: Can't pipe files to compileHelp
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.