devfs
[Top] [All Lists]

Re: Regex question - maybe devfsd should use REG_EXTENDED

To: Greg Ward <gward@xxxxxxxxxx>
Subject: Re: Regex question - maybe devfsd should use REG_EXTENDED
From: Richard Gooch <rgooch@xxxxxxxxxxxxx>
Date: Thu, 18 Oct 2001 16:46:18 +1000
Cc: Russell Coker <russell@xxxxxxxxxxxx>, devfs@xxxxxxxxxxx
In-reply-to: <20011017203330.A6057@xxxxxxxxxxxxxxxxxxxxxxxxx>
References: <20011013185814.A1334@xxxxxxxxxxxxxxxxxxxxxxxxx> <20011014124259.01F0834CF7@xxxxxxxxxxxxxxxxx> <20011014153424.C954@xxxxxxxxxxxxxxxxxxxxxxxxx> <20011014233903.B405732889F@xxxxxxxxxxxxxxxxx> <200110160215.f9G2FaH26921@xxxxxxxxxxxxxxxxxxxxxxx> <20011017203330.A6057@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
Greg Ward writes:
> On 15 October 2001, Richard Gooch said:
> > Cough! As if I know! The regular subexpression code was contributed by
> > Chris Rankin. I assume he tested it, since I think he used it. Check
> > the devfsd.conf(5) man page for examples of regular subexpression use.
> > In that page it tells you what you need to know to get it working. I
> > won't tell you the answer, because I want you to read the manual :-)
> 
> A-ha!  So it's not even a doc bug, just my thick skull.  D'ohh!

Well, let's call it a doc mis-feature, since there wasn't a pointer in
the place you most needed it.

> May I propose a tiny little patch to the devfsd.8 man page?
> 
> --- devfsd-1.3.18/devfsd.8      Wed Oct 17 20:29:57 2001
> +++ devfsd-1.3.18-hacked/devfsd.8       Wed Oct 17 20:27:58 2001
> @@ -293,4 +293,6 @@
>  \fI\\2\fP to refer to the second, and so on.  (Use \fI\\\\\fP to
>  include an actual backslash.)
> +.PP
> +See devfsd.conf(5) for examples of regular expression substitution.
>  
>  .SH SIGNALS
> 
> Hope I've got my *roff syntax right.  This should reduce future
> confusion.

Indeed. Applied. Thanks.

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>