rev man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

REV(1)									REV(1)

NAME
       rev - reverse the characters or lines of one or more files

SYNOPSIS
       /usr/bin/rev [-l] [file...]

   ksh93
       rev [-l] [file...]

DESCRIPTION
       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

OPTIONS
       The following options are supported:

       -l
       --line
		 Reverse  the order of the lines of the file, instead of char‐
		 acters.

OPERANDS
       The following operands are supported:

       file
	       Specifies the name of the file to use as input.

	       If file is not specified, or if file is a -,  rev  copies  from
	       standard input starting at the current offset.

EXIT STATUS
       The following exit values are returned:

       0
	     All files copied successfully.

       >0
	     One or more files did not copy.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌────────────────────┬─────────────────┐
       │  ATTRIBUTE TYPE    │ ATTRIBUTE VALUE │
       ├────────────────────┼─────────────────┤
       │CSI		    │ Enabled	      │
       ├────────────────────┼─────────────────┤
       │Interface Stability │ Committed	      │
       └────────────────────┴─────────────────┘

SEE ALSO
       cat(1), ksh93(1), tail(1), attributes(5)

				 Aug 11, 2009				REV(1)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net