A useful Groovy script to perform basic file operations.
This project contains a Groovy script that reads a text file, counts the number of lines, words, and characters, and writes the results to a new file.
- Groovy installed on your machine.
To run the script, navigate to the project directory and execute:
groovy file_operations.groovy path/to/input.txt path/to/output.txt