[PATCH] Update manpage with the proper location of system.twmrc file

Thomas Klausner wiz at NetBSD.org
Mon Aug 4 08:36:43 PDT 2014


On Mon, Aug 04, 2014 at 04:48:58PM +0200, walter harms wrote:
> 
> 
> Am 04.08.2014 16:39, schrieb Laurent Carlier:
> > Signed-off-by: Laurent Carlier <lordheavym at gmail.com>
> > ---
> >  man/Makefile.am | 2 ++
> >  man/twm.man     | 2 +-
> >  2 files changed, 3 insertions(+), 1 deletion(-)
> > 
> > diff --git a/man/Makefile.am b/man/Makefile.am
> > index 7d45968..f59d5b5 100644
> > --- a/man/Makefile.am
> > +++ b/man/Makefile.am
> > @@ -33,6 +33,8 @@ CLEANFILES = $(appman_DATA)
> >  
> >  SUFFIXES = .$(APP_MAN_SUFFIX) .man
> >  
> > +MAN_SUBSTS += 	-e 's|__datadir__|$(datadir)|g'
> > +
> 
> I never noticed that one can use "|" as replacement for "/" in sed.
> Since the documentation of sed describes "/", why "|" in this case ?

You can use any letter instead of '/'.
'|' is often used when replacing paths, since it's not very common in them :)
 Thomas


More information about the xorg-devel mailing list