Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!know!pluto.hemel.bull.co.uk!ewoods From: ewoods@hemel.bull.co.uk (Eoin Woods) Newsgroups: comp.emacs Subject: Re: count words region Message-ID: <1991Mar14.085741.24160@hemel.bull.co.uk> Date: 14 Mar 91 08:57:41 GMT References: Sender: @hemel.bull.co.uk Organization: Bull HN UK Lines: 21 Nntp-Posting-Host: brno jj@medulla.cis.ohio-state.edu (John Josephson) writes: >Has anyone written a count-words-region command? I'm sure I'm not the >only one who would find it very useful. Thanks, .. jj Simply : 1. mark the region you want to count. 2. M-| 3. "Shell command on region :" wc -w You could obviously collect this up into a named macro and bind a key to it if desired. Eoin. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Eoin Woods, Software Development Group, Bull HN Information Systems, ~ ~ Maxted Road, Hemel Hempstead, Herts HP2 7DZ, UK. ~ ~ Tel : +44 442 232222 x4823 Fax : +44 442 236072 ~ ~ < Eoin.Woods@hemel.bull.co.uk or ...!uunet!ukc!brno!ewoods> ~ ~ < When do we start news group comp.os.emacs ? :-) > ~