Read from stdin
Read lines from stdin and print in on stdout. Terminate the program when “exit” is entered.
(more…)
Read the first line of a file
Snippet to read the first line of a file in Groovy.
(more…)
Read lines from stdin and print in on stdout. Terminate the program when “exit” is entered.
(more…)
Snippet to read the first line of a file in Groovy.
(more…)