Permutations at the command line

1 · John Cook · Jan. 25, 2022, 3:24 p.m.
Yesterday I wrote about how you could use the tr utility to find the dual of a modal logic expression. Today I’ll show how you could use tr to work with permutations. This post is a hack, and that’s the fun of it. In the logic post we were using tr to swap characters. More […] The post Permutations at the command line first appeared on John D. Cook....