devfs
[Top] [All Lists]

Re: Regex question - maybe devfsd should use REG_EXTENDED

To: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Subject: Re: Regex question - maybe devfsd should use REG_EXTENDED
From: Greg Ward <gward@xxxxxxxxxx>
Date: Wed, 17 Oct 2001 20:33:31 -0400
Cc: Russell Coker <russell@xxxxxxxxxxxx>, devfs@xxxxxxxxxxx
In-reply-to: <200110160215.f9G2FaH26921@xxxxxxxxxxxxxxxxxxxxxxx>
References: <20011013185814.A1334@xxxxxxxxxxxxxxxxxxxxxxxxx> <20011014124259.01F0834CF7@xxxxxxxxxxxxxxxxx> <20011014153424.C954@xxxxxxxxxxxxxxxxxxxxxxxxx> <20011014233903.B405732889F@xxxxxxxxxxxxxxxxx> <200110160215.f9G2FaH26921@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
User-agent: Mutt/1.3.22i
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!
Sorry to bother you.

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.

Thanks!

        Greg
-- 
Greg Ward - programmer-at-big                           gward@xxxxxxxxxx
http://starship.python.net/~gward/
No animals were harmed in transmitting this message.

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