On Aug 24, 2013 at 09:09 PM -0700, SMcCandlish wrote:
I'm pretty sure this simple shell script would fail for any content that
contained a double-quote character, since it would prematurely end the "$1"
structure.
External shell scripts for BBEdit as of this writing don't use this sort of
$1 logic anyway, and consequently don't pass anything on to gpg:
I can't really help you with this. First I don't really use BBEdit
anymore for my text editing. Secondly, it was just idea tossed out to
get someone started.
I do think that BBEdit has changed the way it interacts with shell
scripts in the last couple of years, but I could be wrong about that. I
believe BBEdit used to write a temporary file, so the "$1" of my example
would have been filled by a filename, hence the `cat` and not and
`echo`. Now I think it pipes the content to stdin.
My advice would be to look at how the new versions of the example Unix
Filters look like. If they are supplied anymore.
--
This is the BBEdit Talk public discussion group. 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>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].