Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Line number monstrosity
- X-seq: zsh-workers 12221
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Line number monstrosity
- Date: Tue, 11 Jul 2000 12:38:22 -0400
- Cc: Zsh hackers list <zsh-workers@xxxxxxxxxxxxxx>
- In-reply-to: <1000711162211.ZM8544@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxxxxxxxxx on Tue, Jul 11, 2000 at 04:22:11PM +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <0FXJ000SN7PCTG@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20000711094019.A17002@xxxxxxxxxxx> <200007111354.PAA20014@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20000711105759.A17410@xxxxxxxxxxx> <0FXJ000SN7PCTG@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1000711162211.ZM8544@xxxxxxxxxxxxxxxxxxxxxxx>
> 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