/reverse-lines

Reverse order of lines in text file

Primary LanguageRustMIT LicenseMIT

reverse-lines

As an learning excersise I created a small rust program to reverse order of lines in text file.

usage

reverse-lines <path-to-text-file> [<path-to-output-file>]

second parameter is optional and if it is not provided file with suffix _reversed is used as output