Little note on psmisc

Dan Nicholson dbn.lists at gmail.com
Thu May 10 13:32:03 PDT 2007


On 5/10/07, Chris Staub <chris at beaker67.com> wrote:
> Dan Nicholson wrote:
> >
> > Untested, but I think this would work:
> >
> > find man -name Makefile.in -exec sed -i 's/groups\.1 //' {} ';'
>
> Oops, I corrected this in CLFS six months ago but it seems I forgot to
> email LFS-dev as well...sorry...

Eh, it happens.

> Anyway, it seems two commands are now needed, due to changes in the
> Makefile in the latest Shadow verison. We don't use the find command for
> all the various translations in CLFS (though maybe we should) but other
> than that it should be the same...here's what we've got...
>
> sed -i '/groups.1.xml/d' man/Makefile

Do we really care if groups.1 is regenerated from groups.1.xml? Even
in the event that you actually had xsltproc, it's still not going to
get installed due to the other sed. IMO, it's not worth another
command on the shadow page.

--
Dan



More information about the lfs-dev mailing list