bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Stefan Monnier
Subject: bug#11263: 23.4; shell-script: << does not always mean here-document
Date: Tue, 17 Apr 2012 14:40:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]