SHARE
TWEET

Untitled

a guest Sep 11th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Mehrere Dateien
  2.  
  3. echo "Eingabe der Datei:"
  4. read FILE
  5. while [ ! -z "$FILE" ]
  6. do
  7. if [ -f "$FILE" ]; then
  8.         echo "$FILE existiert."
  9. else
  10.         echo "$FILE existiert nicht."
  11. fi
  12. echo "Eingabe der Datei:"
  13. read FILE
  14. done
  15. echo "Leere Eingabe, Programm wird abgebrochen"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top