Can't pipe files to compileHelp
Can't pipe files to compileHelp
- Subject: Can't pipe files to compileHelp
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 04 Aug 2002 07:55:52 -0400
The compileHelp tool won't accept piped input, and I don't know why. If I
have two files in my current directory named xHelp.rtf and yHelp.rtf, this
command in Terminal generates a file called Help.plist (for use with the
Cocoa NSHelpManager API):
compileHelp -o Help.plist xHelp.rtf yHelp.rtf
But if I generate a list of the two files using ls and pipe it to the
compileHelp command, I'm told I have used the wrong number of parameters:
ls *Help.rtf | compileHelp -o Help.plist
As a result, I can't put this command in a shell script phase in my project
file.
Any ideas?
--
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.