At 13:44 -0400 12/09/2011, Rich Siegel wrote:

*   Unix filters (run from the "Apply Text Filter" menu) now accept the
    selection on `STDIN`. This is a change from previous versions, in
    which BBEdit wrote a temporary file and passed it as `argv[0]`. If
    you have any Unix scripts in the "Text Filters" folder, you *will*
    need to modify them in order for them to continue working...

Rich, can you explain this, perhaps with an example of a UNIX filter that did work and which now does not.

I have tried a couple of my own, which I had already moved to the Text Filters folder when the nomenclature changed, and they work fine just as before; for example this one, which resembles most of the others:

#!/usr/bin/perl
use strict;
my $i;
while(<>){ # or ...<STDIN>
  $i++;
  print sprintf("%4d: ",$i), $_;
}
__END__


JD

--
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.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to