Wenn ich in einem bash
Skript nach einem Passwort fragen möchte , mache ich Folgendes:
read -s
... aber wenn ich bash
im POSIX-Modus mit starte, sh
wird die -s
Option abgelehnt:
$ read -s
sh: 1: read: Illegal option -s
Wie fordere ich mit einem POSIX-kompatiblen Befehl sicher eine Eingabe an?