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

Re: Line number monstrosity



> zagzig% cat < nonexistent         

I can't reproduce this, FWIW.

> Why not?  You don't get line numbers for commands issued from the PS1
> prompt, so you must be referring to something in a function or script;
> and it's possible to have more than one "cat" in the same script, and to
> need to know which of those failed.

No, I wasn't clear.  I'm using the cat function.  The fact that it can't
find the file at line 14 is not useful unless I'm debugging the cat function.
On the other hand, it's a useful indicator that you're using a function instead
of /bin/cat.



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