From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id EAA03702 for ; Wed, 2 Oct 1996 04:03:27 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id NAA06554; Tue, 1 Oct 1996 13:53:16 -0400 (EDT) Resent-Date: Tue, 1 Oct 1996 13:53:16 -0400 (EDT) From: Geoff Wing Message-Id: <199610011752.RAA14297@werple.net.au> Subject: Re: Startup-file patch and some tcsh emulations To: zsh-workers@math.gatech.edu Date: Wed, 2 Oct 1996 03:52:50 +1000 (EST) Cc: schaefer@nbn.com In-Reply-To: <960930143414.ZM21164@candle.brasslantern.com> from "Bart Schaefer" at Sep 30, 96 02:34:14 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"fzQpQ1.0.Jc1.BgLKo"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2183 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu :On Sep 30, 12:32pm, Geoff Wing wrote: :> Subject: Startup-file patch and some tcsh emulations :> just a small patch to provide some emulations for csh/tcsh functions: :> glob, printenv, setenv, unsetenv, and a sample filetest :What's wrong with: : alias glob='print -N' There are a couple of differences, one of which is that tcsh doesn't terminate with a null, only seperates with them. Another is the you need to unset nullglob, so a function seems best to me. Anyway, I had a spare couple of minutes and was just playing. I'm sure there are several possible improvements in them. -- Mason [G.C.W] mason@werple.mira.net.au "Hurt...Agony...Pain...LOVE-IT"