Deutsch   English   Français   Italiano  
<878qzqtoms.fsf@nightsong.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Paul Rubin <no.email@nospam.invalid>
Newsgroups: comp.lang.lisp,comp.lang.scheme
Subject: Re: From JoyceUlysses.txt -- words occurring exactly once
Date: Fri, 31 May 2024 00:40:59 -0700
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <878qzqtoms.fsf@nightsong.com>
References: <v3ame4$1qf6m$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 31 May 2024 09:41:06 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c1fe16f3e3b4431758512624042c13d3";
	logging-data="2252582"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19c2U4ypaGcpzlZHQsr/E5f"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:TVvd+H2L8ZX73JEfTlvBi3diEvU=
	sha1:E0Dg2ajXQ66Fxz55YKNQqmvuWfQ=
Bytes: 1191

> could someone give me a pretty fast (and simple) program that'd give
> me a list of all words occurring exactly once?

To first approximation, this works for me (bash command):

  tr -c "[a-zA-Z-]" "\n" < ulysses.txt |sort|uniq -c|sort -n