info-cvs
[Top][All Lists]
Advanced

[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 --file=cvs.info
> >>
> > With my build you have to do:
> > info --directory=cvs-1.11.14/doc --file=cvs.info
> 
> 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
fully[1]) 
`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}'`
NUM_LINES=`expr $END_LINE - $BEGIN_LINE`

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

[2]http://www.gnu.org/software/stow/
-- 
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]