![]() | :: | Software | :: | miscellanea |
revline
revline read lines from standard input, reverses the order of the characters in each line, and prints the result to standard output. If it sees the end of input, revline exits 0. If it encounters an error, revline exits 111.
revline has no trouble with arbitrary characters within lines, or with a partial last line. The pipeline
revline | revlineprints an exact copy of its input.