Groovy file operations - execute around pattern in action
In an older post, I described Execute Around Pattern. In this post, let's understand how this pattern simplifies the solution while reading from files and writing to files.
Suppose we have a text file that contains a few names one name per line. We want our program to