Crates.io | combos |
lib.rs | combos |
version | 0.2.1 |
source | src |
created_at | 2022-06-25 13:48:35.910774 |
updated_at | 2022-06-26 21:51:59.987143 |
description | Print all permutations of a word list |
homepage | https://github.com/digitalsanctum/combos |
repository | https://github.com/digitalsanctum/combos |
max_upload_size | |
id | 613046 |
size | 5,768 |
Given a file and integer k, print all possible permutations concatenated.
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