Opening a file with an apostrophe (Captain's.log in this case) throws a (non-blocking) error on stderr:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
(That message ends with: backtick, single-quote, single-quote.)
Please take a look at my proposed fix:
ebassett@7ba01d5
It fixed my problem, but I haven't given it broader testing (I'm open to suggestions); in particular, it's a bashism, as I understand it, so might cause more problems for someone with a different default shell.
I'll send a pull request now, regardless, and you can reject it if this is too iffy.
(And it is a non-blocking issue, anyway...)
Cheers,
-Edward
Opening a file with an apostrophe (Captain's.log in this case) throws a (non-blocking) error on stderr:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
(That message ends with: backtick, single-quote, single-quote.)
Please take a look at my proposed fix:
ebassett@7ba01d5
It fixed my problem, but I haven't given it broader testing (I'm open to suggestions); in particular, it's a bashism, as I understand it, so might cause more problems for someone with a different default shell.
I'll send a pull request now, regardless, and you can reject it if this is too iffy.
(And it is a non-blocking issue, anyway...)
Cheers,
-Edward