Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: comment block curiosity



On Sun, Jan 3, 2021 at 10:30 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
>     $ . test1
>     staring comment
>     test1:9: command not found: foo
>     test1:10: command not found: bar
>     test1:11: command not found: baz
>     back to code
>
> ... bet it can be made to work tho.

A ha ha.  Sorry.

No, it can't be made to work in a script, at least not without
breaking ordinary comments.

It works in an interactive shell with NO_INTERACTIVE_COMMENTS.




Messages sorted by: Reverse Date, Date, Thread, Author