Re: zsh can output non-printable characters to the terminal in some error messages
Vincent Lefevre <[email protected]> Thu, 11 Jun 2026 01:55:18 +0200
| Newsgroups | gmane.comp.shells.zsh.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2026-06-10 18:55:46 +0200, Mikael Magnusson wrote: > Hmm, did you make the same mistake I did there? Eg, we didn't include > the #!/bin/zsh shebang. My script was run with /bin/sh and I suspect > so was yours? Yes, sorry. I actually intended to source the file, but forgot. And the fact that the error message doesn't show the interpreter doesn't help to detect the mistake. qaa% . ./test.zsh file$'\033'\[H$'\033'\[c$'\n'$'\b' ./test.zsh:1: permission denied: file^[[H^[[c\n^H So, everything is fine with zsh. -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)