Subject: Re: teach wtf(6) about pkgsrc's help facility
To: None <tech-userlevel@NetBSD.org>
From: Peter Bex <Peter.Bex@xs4all.nl>
List: tech-userlevel
Date: 07/27/2007 18:41:12
--QTprm0S8XgL7H0Dt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 27, 2007 at 05:56:56PM +0200, Hubert Feyrer wrote:
>=20
> Someone threw some coarse answer to a pkgsrc question to my head today,=
=20
> and I wondered "WTF can't wtf(6) translate for me". The patch attached=20
> below does just that, by running "make help topic=3D...:
>=20
>  	% cd /usr/pkgsrc/audio/qsynth
>  	% wtf subst
>  	subst: =3D=3D=3D> mk/subst.mk:
>  	# This Makefile fragment implements a general text replacement facility.
>  	...
>=20
> Am I the only one finding this useful, or shall I commit it?
> Any other comments?

Wow, that's neat!  I didn't even know about the pkgsrc help facility!  Addi=
ng
it to wtf(6) would be a good addition, I think.

Cheers,
Peter
--=20
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
							-- Donald Knuth

--QTprm0S8XgL7H0Dt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iQEVAwUBRqogKNOrBFwYag3gAQIbiwf/VOzwKmHxiB6NkKKYsQmPOXe+Ca2vbRKt
ST7/WU7UEngdRXn81Cc/PBo0LNY76RmlGfF0S0jVbAlPNRpuW2LzBAi//hBB2adv
Z0bHHbqOLV/xocQFrteFWUjjilGzNorlG8gUa4dCzQ+MXFqnjRNAHNno5puUalBN
1VfILJc2oIPgjNWrtz18B5MZLa9niwwMyuCIYoprmrGBfPVbx8qUEF8uGmpx2B6p
dyhVpRvVAGDn6jbawOj5/UxLinU/P616J6SdDRWFkVd4KvNkvihieDq9ppe1FoX3
z9gd5lfQ/dtfInmoB3h171irOkeR1Jz3IacNtu/BZr8rOin8Vkv3Ow==
=DPgn
-----END PGP SIGNATURE-----

--QTprm0S8XgL7H0Dt--