User Tools

Site Tools


kurs:read_case.sh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

kurs:read_case.sh [2014/09/10 21:22] (current)
Line 1: Line 1:
 +<​code>​
 +#​!/​bin/​bash ​
 +echo -n 'J oder N : '
 +read OK 
 +
 +
 +case $OK in
 +  J) echo Ja;;
 +  N) echo Nein;;
 +  *) echo Depp;;
 +esac
 +</​code>​
  
kurs/read_case.sh.txt ยท Last modified: 2014/09/10 21:22 (external edit)