Anonymous user
Reverse the order of lines in a text file while preserving the contents of each line: Difference between revisions
Reverse the order of lines in a text file while preserving the contents of each line (view source)
Revision as of 19:54, 5 August 2021
, 2 years ago→version 2: added two other REXXes.
(→{{header|REXX}}: added a 2nd version which if faster and uses less memory (storage).) |
m (→version 2: added two other REXXes.) |
||
Line 277:
::* R4 REXX
::* ROO REXX
::* CMS REXX compiler
::* CMS OREXX
<lang>/*REXX pgm reads a file, and displays the lines (records) of the file in reverse order. */
parse arg iFID . /*obtain optional argument from the CL.*/
|