News

Adding line numbers to a text file is another example of a Groovy one-liner that is small enough that it doesn’t even need a script file and can be used with Groovy’s -e and -p options.