Guest User

Untitled

a guest
Nov 25th, 2013
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.18 KB | None | 0 0
  1. echo -n "Podaj swoj numer PESEL: "
  2. read pesel
  3. pesel=$[`echo $pesel | grep -E "^[[:digit:]]{11}$"`]
  4. echo $pesel
  5.  
  6. if [ $pesel -eq 0 ]
  7. then
  8. echo "Niepoprawny PESEL "
  9.  
  10. exit
  11.  
  12. fi
Advertisement
Add Comment
Please, Sign In to add comment