From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5098 invoked from network); 26 Sep 1999 20:15:45 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Sep 1999 20:15:45 -0000 Received: (qmail 2266 invoked by alias); 26 Sep 1999 20:15:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8058 Received: (qmail 2259 invoked from network); 26 Sep 1999 20:15:22 -0000 From: "Bart Schaefer" Message-Id: <990926201517.ZM6329@candle.brasslantern.com> Date: Sun, 26 Sep 1999 20:15:17 +0000 In-Reply-To: <9909261431.AA27874@ibmth.df.unipi.it> Comments: In reply to Peter Stephenson "Re: "cat -v" in zsh (and a minor bug)" (Sep 26, 4:31pm) References: <9909261431.AA27874@ibmth.df.unipi.it> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: "cat -v" in zsh (and a minor bug) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable On Sep 26, 4:31pm, Peter Stephenson wrote: } Subject: Re: "cat -v" in zsh (and a minor bug) } } "Bart Schaefer" wrote: } > The bug is demonstrated by: } > = } > a=3D'=E5' # That's meta-a, or 228 decimal } > (( #a =3D=3D #\=E5 )) || echo oops } = } Seems to be 229, here. Typo. } Here's a function that allows you to enter a numeric argument to get a } character with a given number, sort of like quoted insert. Have I miss= ed } something simpler (i.e. can you really not process a character code in } decimal)? Right, you can't process a character code in decimal. You could do it in= octal rather than hex, but that doesn't help much. -- = Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com