terminal.cab

All commands

printf

Topic: Shell and scripts

Shell builtin: printf

Prints text following a format.

Package: script-werkzeuge

Usage

printf [-v var] format [arguments]

Description

Print the ARGUMENTS as FORMAT says: text as it is, escapes such as \n, and a % spec such as %s, %d or %5.2f for each argument. FORMAT repeats while arguments are left.

Options in the simulator

Program: printf

Prints text following a format.

Package: script-werkzeuge

Usage

printf FORMAT [ARGUMENT]...

Description

Print the ARGUMENTS as FORMAT says: text as it is, escapes such as \n, and a % spec such as %s, %d or %5.2f for each argument. FORMAT repeats while arguments are left.

Options in the simulator

1 more options of the real program, not in the simulator yet
  • --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