Here’s a workaround:

```bash
echo $stuff | awk -F $'\x22' '{print $1}'
```

(This will work with most shells, including bash and zsh.)

Hope this helps.
-sam

On 15 Mar 2018, at 12:21, Jeff Grisso wrote:

Hello, some of my bash scripts have intentional unbalanced quote and this
is throwing off the script colorization for 'Unix Shell Script'.
Is there a way to tell BBedit to "not count" a specific individual
character instance for colorization?

example code:

echo $stuff | awk -F '"' '{print $1}' #the double quote next to -F will
never be balanced

Thank you!

--
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].
Visit this group at https://groups.google.com/group/bbedit.

--
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].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to