Modular personalized dictionary generator - [git] - [github] - [license] - by Michael Constantine Dimopoulos - <mk@mcdim.xyz>
nclean is essentially a filtering tool. It iterates over stdin and prints all lines that meet your specified criteria of length and charset.
For example, with the following command$ cat words.txt | nclean -cwhere
words.txt
contains the following:
pen Pen pencil Pencil eraser EraserThe program will output this:
Pen Pencil EraserBecause the
-c
flag filters out lines that have capital letters and prints those out only.
Likewise:
-n
flag, the program will only print lines that include numbers;-s
flag, the program will only print lines that include symbols and special characters;-l
flag, the program will only print lines with length grater than or equal to the one specified;