-
Sort lines of text alphabetically in ascending or descending order (supported order aliases are
asc
anddesc
).text-processor sort --input-file <input-file> --output-file <output-file> --order <order>
-
Ability to remove duplicate lines from a text file.
text-processor dedup --input-file <input-file> --output-file <output-file>
-
Ability to search for specific text within a file and return the line numbers where it appears.
text-process search --input-file <input-file> --search-text <search-text>
-
Ability to replace a specific text within a file with new text.
text-processor replace --input-file <input-file> --output-file <output-file> --search-text <search-text> --replace-text <replace-text>
-
Ability to merge two or more text files into a single file. Input file must space separated.
text-processor merge --input-files <input-files> --output-file <output-file>