I'm writing a ksh script and apparently have an unmatched double quote ("
) in my code. Ksh unfortunately just tells me that the last line of the script doesn't match it, but the error is almost certainly well before the end of my script. I'm writing this in VIM. Is there some way I can narrow down where the actual quote issue is?
Probably go to the end (G$
) and search for a double quote backwards (?"
)
Otherwise, lookup for lines with only one double quote (/^[^"]*"[^"]*$
) could help if your script is simple.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With