A command-line tool for manipulating text files, such as sorting lines of text alphabetically and removing duplicate lines.
- Ability to sort lines of text alphabetically in ascending or descending order.
- Ability to remove duplicate lines from a text file.
- Ability to search for specific text within a file and return the line numbers where it appears.
- Ability to replace a specific text within a file with new text.
- Ability to merge two or more text files into a single file.
- Ability to handle large files efficiently (Hint: Look for streaming APIs in java.nio.file.Files).
- Ability to handle errors and display error messages when invalid input is provided.