“You may be right,
 I may be crazy.
 Oh, but it just may be a lunatic you’re looking for.”
— Billy Joel


I was going to call it “Writer’s AwkBench,” but some utilities are shell
scripts instead of strictly awk.

https://github.com/larrykollar/Writers-ScriptBench

Of the 22 utilities identified in the README:

* 2 are new additions (or will be)
* 2 have working replacements (GNU diction and style)
* 6 are now unneeded (mostly meaning other updated utilities handle their 
functionality)
* 4 have been rewritten and available (although acro needs work)

I have leads on ways forward on several apps, and incorporating my
reuse analyzer will be a potentially useful extension compared to WWB.

I’m not trying to make these work like their WWB counterparts. For
example, my version of deroff (which does use nroff to strip markup)
does not implement the -w (one word per line) option. Instead, you
pipe the output to wordlist (a new utility) that also lowercases
everything and strips punctuation. Turns out aspell doesn’t need that
extra step, and it has its own built-in deroff. But there are legit reasons
to create a word list—you can examine unique words, use “aspell list”
if you’re confident about your document, or just see how many times
you use a particular word in your writing.

deroff -ms foo.ms | wordlist | sort | uniq -c | sort -nr

This pipeline produces a list of words, sorted by count, highest first.


So yeah, being involuntarily retired all year might have driven me nuts.
But this and UTP Revisited are giving me something to do, and maybe
my coding/writing therapy will help someone else.

— Larry

Reply via email to