Hi Jeff, On Sun, 13 Jan 2019 18:44:14 +0000 Linux for blind general discussion <blinux-list@xxxxxxxxxx> wrote: > Yeah, an error of this type is hard enough to debug when you have > access to the buggy code. Debugging from the error message alone is > nearly impossible in cases like this. > > I will mention, however, that bash, and many other shells/scripting > languages, aren't picky about single quotes versus double quotes in > general, but can be quite picky that they're used consistently. E.g. > if you start a string literal with single quotes, you'd better end it > with single quotes, and if you start it with double quotes, you'd > better end it with double quotes, but bash probably doesn't care which > you use as long as the beginning and ending delimiters are the same. > see https://stackoverflow.com/questions/6697753/difference-between-single-and-double-quotes-in-bash - they have different semantics. > Probably about the best advice I can give without examining the code directly. > > -Jeff > > On 1/13/19, Linux for blind general discussion <blinux-list@xxxxxxxxxx> wrote: > > On Sun, 13 Jan 2019, Linux for blind general discussion wrote: > > > >> The man page has nothing on unexpected end of file in it; searching for > >> unexpected in that man page provides no mention of unexpected. > > > > Possibly I've missed the context for this if it's a new thread resulting > > from a previous one (I am not up-to-date on this list). > > > > The error seems pretty self-explanatory. Bash expected more input when it > > reached the end. > > > > I would expect that it was either looking for a closing quote (single or > > double) or a closing bracket of some sort. > > > > what are you trying to do? > > > > Cheers, > > Geoff. > > > > _______________________________________________ > > Blinux-list mailing list > > Blinux-list@xxxxxxxxxx > > https://www.redhat.com/mailman/listinfo/blinux-list > > > > _______________________________________________ > Blinux-list mailing list > Blinux-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/blinux-list -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ The Case for File Swapping - http://shlom.in/file-swap Only wimps use tape backup: real men just upload their important stuff on FTP, and let the rest of the world mirror it. — https://en.wikiquote.org/wiki/Linus_Torvalds Please reply to list if it's a mailing list post - http://shlom.in/reply . _______________________________________________ Blinux-list mailing list Blinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/blinux-list