Guest User

Timon_du_Larry

a guest
Nov 18th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. zv="ZV"
  4. read var
  5.  
  6.  
  7. if [ "$var" = "$zv" ]
  8. then
  9. echo "Vergleiche"
  10. read nummereins
  11. read nummerzwei
  12. if (( nummereins < nummerzwei ))
  13. then
  14. echo $nummereins
  15.  
  16. else
  17. echo $nummerzwei
  18. fi
  19.  
  20. else
  21. echo "Keine Gültige Eingabe!"
  22. fi
Advertisement
Add Comment
Please, Sign In to add comment