You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dummy 206B

123456789101112131415161718
  1. #!/bin/sh
  2. opp() {
  3. read lr
  4. case $lr in
  5. 1) read card; read slot;;
  6. 2) read slot; read card;;
  7. esac
  8. }
  9. if [ $1 = "1" ]; then
  10. opp
  11. fi
  12. while [ true ]; do
  13. echo "1"
  14. echo "I"
  15. echo "0"
  16. opp
  17. done