Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: comp.lang.lisp,comp.lang.scheme Subject: Re: From JoyceUlysses.txt -- words occurring exactly once Date: Thu, 30 May 2024 18:45:00 -0400 Organization: A noiseless patient Spider Lines: 10 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Fri, 31 May 2024 00:45:10 +0200 (CEST) Injection-Info: dont-email.me; posting-host="09cb8bd1565b7925484549f09d63700c"; logging-data="1988815"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+LPh+DSwMh5NNdGubo+SD6LnbRtPS80Mo=" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:JI24YxwIKD0stq8chza0Go84xTg= sha1:UTvNvILuxHRt0wxgEctLnWYyb1M= Bytes: 1195 > Given a text file of a novel (JoyceUlysses.txt) ... > could someone give me a pretty fast (and simple) program that'd give me > a list of all words occurring exactly once? tr ' .;:,?!' '\n' | sort | uniq -u ? - Stefan