Path: csiph.com!news.nrbbs.org!border-3.nntp.ord.giganews.com!border-4.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 12 Oct 2026 21:06:30 +0000 From: steve g Newsgroups: comp.lang.lisp Subject: Re: GNU Emacs native compiled functions References: <113ovuj$23t9c$1@dont-email.me> <114odai$qp0b$1@dont-email.me> <114piou$14lmv$2@dont-email.me> <114pno3$16g53$1@dont-email.me> <114pqg5$17lne$1@dont-email.me> <5T_bS.71191$4Fu9.56234@fx05.ams4> <27248.58134.739884.512819@parhasard.net> <87v78mz15a.fsf_-_@debian> <87wlsmo83m.fsf@debian> <118kcc1$1mri1$2@dont-email.me> <87wlrvendh.fsf@gmail.com> <20261005164228.546@kylheku.com> <11a3mvl$29qvc$1@dont-email.me> <877bjp172v.fsf@gmail.com> <11aelre$27968$1@dont-email.me> <87pkxfirsb.fsf@gmail.com> <11ahsoo$3a82n$1@dont-email.me> Date: Mon, 12 Oct 2026 17:06:29 -0400 Message-ID: <871p9ufx2i.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:2b1kErYBJ2sfD1tPhy0pc3mNqFs= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Lines: 34 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-FKq3wxN6NPOcNdfiKp2EY+XTmjUJ2FsWAmIquygaP8JVvW9TEzlr+DlkfVHBYBEOeSgFWqcq8wrFW55!PUznxVbeaVO1RdAzyXLUSWOF1xONaYLFBYVLTV/ckvSH9a0= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Xref: csiph.com comp.lang.lisp:61735 Lawrence D’Oliveiro writes: > On Sun, 11 Oct 2026 22:20:04 -0400, steve g wrote: > Clue: I mentioned “stripping all the markup”. Yes, I read that. So you have a document with no tags; have you tried wc ? >> >> have you tried wc -w ? > > Yes, that is even worse than your idea. Which is saying something. Dunno. wc (1) DESCRIPTION Print newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified. A word is a nonempty sequence of non white space delimited by white space characters or by start or end of input. With no FILE, or when FILE is -, read standard input. The options below may be used to select which counts are printed, always in the following order: newline, word, character, byte, maximum line length. wc (1) seems to do the job very well. I just tried wc and count-words again on a text file and got the same exact results.