Subject: Re: bug#11263: 23.4; shell-script: << does not always mean here-document

From: Stefan Monnier <[email-masked]>
Date: Tue, 17 Apr 2012 14:40:45 -0400

> When I type << in shell-script mode, Emacs thinks this begins a
> here-document. This is not always the case, e.g. in the following
> lines:

> foo='bar<<'
> echo "${foo%<<}"

Emacs handles these correctly, AFAICT.

> echo $((1<<8))
> echo $[1<<8]

But these are confused for here-documents, indeed.

        Stefan