File input/output: Difference between revisions
Content added Content deleted
(add task to ARM64 assembly Raspberry Pi) |
m (Make the Groovy example fulfill the task by actually using an intermediate variable) |
||
Line 1,724: | Line 1,724: | ||
Using File |
Using File |
||
<lang groovy> |
<lang groovy>content = new File('input.txt').text |
||
new File('output.txt').write(content)</lang> |
|||
Using Ant |
Using Ant |