Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: null commands...
- X-seq: zsh-users 464
- From: vlefevre@xxxxxxxxxxx (Vincent Lefevre)
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: null commands...
- Date: Sat, 26 Oct 1996 20:33:45 +0200
- In-reply-to: <kigohhp69qx.fsf@xxxxxxxxxxxxx>; from Hrvoje Niksic on Oct 26, 1996 16:11:34 +0100
- References: <8668.199610261505@xxxxxxxxxxxxxxxxxxxxxxx> <kigohhp69qx.fsf@xxxxxxxxxxxxx>
Hrvoje Niksic writes:
> Sorry, this one is obviously wrong. READNULLCMD should be unset (or
> empty) by default. Then, if READNULLCMD is empty, zsh should use
> ${PAGER:-more} for < file shorthands. If not, it should use whatever
> is found in READNULLCMD. How does that sound?
This wouldn't always work. $PAGER may have arguments, e.g. "less -is".
But $READNULLCMD can't:
Et encore? READNULLCMD="less -is"
Et encore? < file
zsh: command not found: less -is
zsh: exit 1 less -is < file
Is it a bug?
--
Vincent Lefevre, vlefevre@xxxxxxxxxxx | Acorn RiscPC600, 20+1MB RAM, Eagle M2
http://www.ens-lyon.fr/~vlefevre | Apple CD-300, SyQuest 270MB
PhD in Computer Science, 1st year | Atari Falcon030, 4MB RAM
------------------------------------------------------------------------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author