printf
Formatierte Ausgabe
Syntax
$printf <format> [arguments]
Beispiele
Beispiele
$printf "Hello %s
" World
Beispiele
$printf "%d + %d = %d
" 2 3 5
Beispiele
$printf "%10s" text
Beispiele
$printf "%0.2f
" 3.14159
Alternativen
Typische Anwendungsfälle
Hinweis
C-ähnliche formatierte Ausgabe.
Export