terminal.cab

All commands

tac

Topic: Text

Program: tac

Prints lines from last to first.

Package: text-tools

Usage

tac [OPTION]... [FILE]...

Description

Print the lines of each FILE starting with the last one. A FILE named -, or no FILE, means the keyboard or pipe.

Options in the simulator

4 more options of the real program, not in the simulator yet
  • -b, --before not in the simulator yet

    On a real system the separator then comes before each line instead of after it.

  • -r, --regex not in the simulator yet

    On a real system the separator from -s is then a regular expression.

  • -s, --separator needs a value not in the simulator yet

    On a real system this string separates the parts instead of the newline.

  • --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