Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. ...
  4.  
  5. if ! [[ $SCREEN_NAME =~ ^[a-zA-Z0-9_.-]+$ ]]; then
  6. echo "The Server title contains invalid symbole. Only a-z A-Z 0-9 - _ . are allowed"
  7. exit 1;
  8. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement