It seems more specific -- like:
  ['"][^ \t]*["']
where the first quote is the closing quote from a string on an earlier
line (because if I put any white space in between the closing and
opening quote, "ksh -n" is happy).

I'm not completely understanding the logic of doing this-- is the
thought that if someone puts whitespace in, they must have really
meant to have a multi-line string?

An aside: this is only an issue for me because nmake's default rules
run "ksh -n" on shell scripts before installing them.  And because I'm
a bit OCD about keeping linting tools happy with my code.

Jeff


On Thu, Jul 12, 2012 at 1:08 PM, David Korn <[email protected]> wrote:
> If I remember correctly, it looks for  a string of the form
>         '...'
> on a line for which the first quote is a closing quote from a string
> on an earlier line and the ' is the beginning quote of a string.
>
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to