[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding out which tags exist

From: Todd Denniston
Subject: Re: Finding out which tags exist
Date: Fri, 19 Mar 2004 11:28:31 -0500

Derek Robert Price wrote:
> Geoff Beier wrote:
> > Derek Robert Price wrote:
> >
> >> If you have a binary GNU info installed but your local CVS manual isn't
> >> installed correctly, and you have a copy of the CVS source handy, you
> >> can access the info manual like so:
> >>
> >>     info --directory=cvs-1.11.14/src
> >>
> > With my build you have to do:
> > info --directory=cvs-1.11.14/doc
> Er, yeah.  What you said.  That's what you should have to do with most
> builds.  Sorry about that.  :)

if INFOPATH is set correctly (and the $INFOPATH/dir file has been built
`info cvs` will work.

[1] I learned when using stow[2], that I had to move the individual dir files
to dir.package and then in the stowed info directory do something like:
FCOUNT=`ls dir.*|wc -l |awk '{print $1}'`
COUNT=`expr $FCOUNT - 1`
cat `ls dir.*|head -1` > dir
for i in `ls dir.* |tail -$COUNT`; do /tmp/infodirbuild $i >> dir;done

begin /tmp/infodirbuild:
BEGIN_LINE=`grep -n " Menu:" $1|awk -F : '{print $1 }'`
END_LINE=`wc -l $1|awk '{print $1}'`

tail -$NUM_LINES $1 
end /tmp/infodirbuild.

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter

reply via email to

[Prev in Thread] Current Thread [Next in Thread]