Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Mehrere Dateien
- echo "Eingabe der Datei:"
- read FILE
- while [ ! -z "$FILE" ]
- do
- if [ -f "$FILE" ]; then
- echo "$FILE existiert."
- else
- echo "$FILE existiert nicht."
- fi
- echo "Eingabe der Datei:"
- read FILE
- done
- echo "Leere Eingabe, Programm wird abgebrochen"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement