Closed matrix closed 3 years ago
A lot of changes are done, performance has improved :)
$ ./combinatorX.bin --help Usage: ./combinatorX.bin [<options>] Options: Argument | Type | Description | Option type | Example ----------------------------------------------------------------------------------------------------------- --file1/-1 | Path | Set file1 path | required | --file1 wordlist1.txt --file2/-2 | Path | Set file2 path | required | --file2 wordlist2.txt --file3/-3 | Path | Set file3 path | optional | --file3 wordlist3.txt --file4/-4 | Path | Set file4 path | optional | --file4 wordlist4.txt --file5/-5 | Path | Set file5 path | optional | --file5 wordlist5.txt --file6/-6 | Path | Set file6 path | optional | --file6 wordlist6.txt --file7/-7 | Path | Set file7 path | optional | --file7 wordlist7.txt --file8/-8 | Path | Set file8 path | optional | --file8 wordlist8.txt --sepStart | Char/String | Set char/string at the beginning | optional | --sepStart '[' --sep1 | Char/String | Set separator between file1 and file2 | optional | --sep1 'a.' --sep2 | Char/String | Set separator between file2 and file3 | optional | --sep2 'bc' --sep3 | Char/String | Set separator between file3 and file4 | optional | --sep3 ',d' --sep4 | Char/String | Set separator between file4 and file5 | optional | --sep4 'e.' --sep5 | Char/String | Set separator between file5 and file6 | optional | --sep5 'f.g' --sep6 | Char/String | Set separator between file6 and file7 | optional | --sep6 'h-' --sep7 | Char/String | Set separator between file7 and file8 | optional | --sep7 '-j' --sepEnd | Char/String | Set char/string at the end | optional | --sepEnd ']' --sepFill | Char/String | Fill all unsetted separator buffers | optional | --sepFill '-' --skip/-S | Num | Skip N sentences | optional | --skip 0 --limit/-L | Num | Exit after N sentences | optional | --limit 1 --max-rep/-m | Num | Skip sentences with > N repeated words | optional | --max-rep 1 --max-len/-l | Num | Skip final sentences with len > N | optional | --max-len 30 --session/-s | String | Set session name | optional | --session testSession --restore/-r | String | Restore by session name | optional | --restore testSession --version/-v | | Show program version and exit | optional | --version --help/-h | | Show this help | optional | --help Example: input files: 1 2 3 4 $ cat 1 2 3 4 | xargs one two three four $ ./combinatorX.bin --file1 1 --file2 2 --file3 3 --file4 4 --sep1 ' . ' --sep2 ' + ' --sep3 ' @ ' --sepStart "['" --sepEnd ',*]' ['one . two + three @ four,*]
A lot of changes are done, performance has improved :)