REV(1) | User Commands | REV(1) |
rev - reverse the characters or lines of one or more files
/usr/bin/rev [-l] [file...]
rev [-l] [file...]
rev copies one or more files to standard output, reversing the order of characters on every line of the file, or reversing the order of lines of the file if -l is specified
The following options are supported:
-l
--line
The following operands are supported:
file
If file is not specified, or if file is a -, rev copies from standard input starting at the current offset.
The following exit values are returned:
0
>0
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
CSI | Enabled |
Interface Stability | Committed |
August 11, 2009 | OmniOS |