From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10489 invoked from network); 11 Jul 1997 08:00:05 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 11 Jul 1997 08:00:05 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id DAA11881; Fri, 11 Jul 1997 03:48:51 -0400 (EDT) Resent-Date: Fri, 11 Jul 1997 03:47:17 -0400 (EDT) From: "Bart Schaefer" Message-Id: <970711002757.ZM20458@candle.brasslantern.com> Date: Fri, 11 Jul 1997 00:27:57 -0700 In-Reply-To: <199707110445.AAA01469@kira.peak.org> Comments: In reply to Timothy Luoma "NULLCMD" (Jul 11, 12:45am) References: <199707110445.AAA01469@kira.peak.org> X-Mailer: Z-Mail (4.0b.820 20aug96) To: luomat@peak.org, zsh-users@math.gatech.edu Subject: Re: NULLCMD MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"xowU31.0.uu2.4KUnp"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/949 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Jul 11, 12:45am, Timothy Luoma wrote: } Subject: NULLCMD } } I don't seem to understand the NULLCMD function. It's what gets executed when you redirect output from nowhere, e.g. zsh% > /some/file is equivalent to zsh% $NULLCMD > /some/file Conversely, READNULLCMD is what gets executed when you redirect input to nowhere; e.g. zsh% < /some/file is equivalent to zsh% $READNULLCMD < /some/file Here's a way to fill your disk with foo: zsh% echo foo > foo zsh% >>foo