I have an input.txt
file with the following content:
abc
cba
bca
I'm genereating every possible combinations of these words with crunch:
$ crunch 3 6 -o output.txt -q input.txt
The generated output.txt
looks like this:
abcbcacba
abccbabca
bcaabccba
bcacbaabc
cbaabcbca
cbabcaabc
However what I want to achieve is to print only the combinations which is between 3-6 characters in length. Crunch ignoring the numbers when you use -p
or -q
which is stated in the manpage.
Is there any workaround for this?
Aucun commentaire:
Enregistrer un commentaire