emacs-devel
[Top][All Lists]
Advanced

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

Re: Font lock bug in sh-script.el


From: Stefan Monnier
Subject: Re: Font lock bug in sh-script.el
Date: Mon, 16 Dec 2002 11:56:26 -0500

> This shell script
> 
>  svrmgrl <<        EOF
>      CONNECT INTERNAL
>      STARTUP
>      EXIT
>         EOF
> 
>  while
>  # foo
> 
> seems to confuse sh-script.el's font lock support.
> All the text following the first line is treated as a here-document.

As mentioned earlier, this is indeed correct.

He should use either

svrmgrl << '    EOF'
     CONNECT INTERNAL
     STARTUP
     EXIT
        EOF

 while
 # foo

or

svrmgrl <<- EOF
     CONNECT INTERNAL
     STARTUP
     EXIT
        EOF

 while
 # foo


- Stefan




reply via email to

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