From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10047 invoked from network); 10 Mar 1999 22:26:49 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Mar 1999 22:26:49 -0000 Received: (qmail 6016 invoked by alias); 10 Mar 1999 22:26:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5742 Received: (qmail 6008 invoked from network); 10 Mar 1999 22:26:35 -0000 Date: Wed, 10 Mar 1999 22:26:27 +0000 From: Phil Pennock To: zsh workers mailing list Subject: Re: PATCH: zsh-3.1.5-pws-11: signames2.awk Message-ID: <19990310222627.A18993@fysh.org> Mail-Followup-To: zsh workers mailing list References: <19990309225721.D19692@rom.oit.gatech.edu> <19990310195942.A13158@fysh.org> <19990310171247.A21112@rom.oit.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <19990310171247.A21112@rom.oit.gatech.edu>; from "Will Day" on Wed 10 Mar 1999 (17:12 -0500) Organisation: Organisation? Here? No, over there ----> X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine and mine alone. Such views do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. Typing away merrily, Will Day produced the immortal words: > A short time ago, at a computer terminal far, far away, Phil Pennock wrote: > >Could the pattern matched theoretically contain horizontal tabs there > >too? > > I've no idea what kind of output different variants of cpp produce, or > what's considered correct, but it probably wouldn't be a bad idea to > match one or more tabs/spaces. Perhaps: > /XXNAMES XXSIG[A-Z][A-Z0-9]*[ \t]+[1-9][0-9]*/ This assumes that all implementations of sed(1) understand \t. My understanding, verified by a quick glance at a Solaris manual page, is that the only special like that which most seds handle is \n, in some contexts. -- --> Phil Pennock ; GAT d- s+:+ a23 C++(++++) UL++++/I+++/S+++/B++/H+$ P++@$ L+++ E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+ G+ e+ h* r y?