Unterminated quoted string found, EOF reached.
Brought to you by:
markhobley
A script I wrote uses this syntax to wrap certain commands in sudo:
eval "$cmd() { sudo $cmd "'"$@"'"; }"
This gives checkbashims the heebie jeebies:
error: nobashism: Unterminated quoted string found, EOF reached. Wanted: <'>
Attaching a nonsense example script that gives this message.