terminal.cab

All commands

rev

Topic: Text

Program: rev

Reverses each line character by character.

Package: text-tools

Usage

rev [FILE]...

Description

Print each line of each FILE with its characters in reverse order. Without FILE, read the keyboard or pipe.

Options in the simulator

2 more options of the real program, not in the simulator yet
  • -0, --zero not in the simulator yet

    On a real system a zero byte instead of a newline ends each line, for names from find -print0.

  • -V, --version not in the simulator yet

    On a real system it prints the version of the program.

Where you learn it

No lesson yet.

All commands