#cli

app combos

Print all permutations of a word list

3 unstable releases

0.2.1 Jun 26, 2022
0.1.1 Jun 25, 2022
0.1.0 Jun 25, 2022

#1894 in Text processing

Custom license

3KB

combos

Given a file and integer k, print all possible permutations concatenated.

usage

Given the file /path/to/test with the following contents:

foo
bar
zoo

The command:

combos /path/to/test 2

will result in:

foobar
foozoo
barfoo
barzoo
zoofoo
zoobar

Dependencies

~425KB