Reverse the order of lines in a text file while preserving the contents of each line: Difference between revisions

m
→‎Raku: Fix sub header
(→‎{{header|Raku}}: Add a no / few assumptions version)
m (→‎Raku: Fix sub header)
Line 160:
Not going to bother testing with the task recommended file. It demonstrated nothing to do with file handling, record separators, memory conservation or anything useful. May as well just be "Reverse this list" for all the good it does.
 
===Lots of assumptions===
Simplest thing that could possibly satisfy the extremely vague task description and completely glossing over all of the questions raised on the discussion page.
 
10,327

edits