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

Content added Content deleted
m (→‎Raku: Fix sub header)
m (→‎Raku: Fix subheader)
Line 171: Line 171:
<lang perl6>.put for reverse lines</lang>
<lang perl6>.put for reverse lines</lang>


==Few assumptions==
===Few assumptions===
Processes a small (configurable) number of bytes at a time so file can be multi-terabyte and it will handle with ease. ''Does'' assume Latin 1 for reduced complexity.
Processes a small (configurable) number of bytes at a time so file can be multi-terabyte and it will handle with ease. ''Does'' assume Latin 1 for reduced complexity.