Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: zsh-3.1.5-pws-11: signames2.awk
- X-seq: zsh-workers 5742
- From: Phil Pennock <comet@xxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: zsh-3.1.5-pws-11: signames2.awk
- Date: Wed, 10 Mar 1999 22:26:27 +0000
- In-reply-to: <19990310171247.A21112@xxxxxxxxxxxxxxxxxx>; from "Will Day" on Wed 10 Mar 1999 (17:12 -0500)
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- Organisation: Organisation? Here? No, over there ---->
- References: <19990309225721.D19692@xxxxxxxxxxxxxxxxxx> <19990310195942.A13158@xxxxxxxx> <19990310171247.A21112@xxxxxxxxxxxxxxxxxx>
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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author