Alas! Dominik Vogt spake thus:
> On Sun, Jul 07, 2002 at 02:10:10PM -0600, Rob 'Feztaa' Park wrote:
> > Alas! Dominik Vogt spake thus:
> > > On Sun, Jul 07, 2002 at 02:00:01AM -0600, Rob 'Feztaa' Park wrote:
> > > >I think Fvwm comes with about 136,000 words worth of manpages, or
> > > >something like that.
> > > 
> > > 20177 lines, 105729 words, 666190 characters :-)
> > 
> > That's not what I came up with:
> > 
> > [EMAIL PROTECTED]:/usr/share/man/man1$ {
> > --> for i in fvwm* Fvwm*  
> > --> do
> > --> name=$(echo $i|perl -pi -e 's/\.1$//')
> > --> man 1 $name|cat 
> > --> done
> > --> } | wc
> >   26466  136635 1292843
> 
> Wow, so much code just to cout words.  With zsh:
> 
>   $ wc **/*.1
> 
> That's all :-)  Of course it counts formatting instructions too.

Exactly -- my way doesn't count formatting stuff. It's not really that
hard, all I'm doing is taking the .1 off the name so that man will
display it, and then counting everything. And I don't know if you store
your fvwm manpages somewhere other than the default location, but
that would count all the words in all the manpages that I have ;)

-- 
Rob 'Feztaa' Park
http://members.shaw.ca/feztaa/
--
Do people know you have freckles everywhere?
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to