On Oct 24, 2009, at 10:40 AM, outis wrote:

> If I just run the unix filter on the document by itself it works
> fine.  However, if I include it as one of the things to do in the text
> factory it doesn't work.  Anyone know what might be going on?

You need to update the script to accept input on STDIN if you want to  
use it in a Text Factory.

 From the BBEdit User Manual, page 128:

> Unix filters run from text factories get their input on STDIN, and  
> should write any content they want passed to the next filter stage  
> to STDOUT. (Unlike Unix filters run from the Shebang menu, text  
> factories do not pass a temp file in argv[1].)


Hope this helps.

-Dennis

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to