zsh-users
 help / color / mirror / code / Atom feed
From: vlefevre@ens-lyon.fr (Vincent Lefevre)
To: zsh-users@math.gatech.edu
Subject: Re: null commands...
Date: Sat, 26 Oct 1996 20:33:45 +0200	[thread overview]
Message-ID: <199610261833.UAA10316@boukha.ens-lyon.fr> (raw)
In-Reply-To: <kigohhp69qx.fsf@jagor.srce.hr>; from Hrvoje Niksic on Oct 26, 1996 16:11:34 +0100

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@ens-lyon.fr | 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
------------------------------------------------------------------------------


  reply	other threads:[~1996-10-26 18:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-25 22:33 Varadarajan
1996-10-26  7:51 ` Geoff Wing
1996-10-26 14:21   ` Hrvoje Niksic
1996-10-26 15:05     ` Zefram
1996-10-26 15:11       ` Hrvoje Niksic
1996-10-26 18:33         ` Vincent Lefevre [this message]
1996-10-26 19:01           ` Hrvoje Niksic
1996-10-26 19:18           ` Zefram
1996-10-28 11:53         ` Geoff Wing
1996-10-28 12:20           ` Hrvoje Niksic
1996-10-28 13:37           ` Zefram
1996-10-26 15:21 alain (a.) caron
     [not found] <no.id>
1996-10-28 22:15 ` Geoff Wing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199610261833.UAA10316@boukha.ens-lyon.fr \
    --to=vlefevre@ens-lyon.fr \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).