Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ...
- if ! [[ $SCREEN_NAME =~ ^[a-zA-Z0-9_.-]+$ ]]; then
- echo "The Server title contains invalid symbole. Only a-z A-Z 0-9 - _ . are allowed"
- exit 1;
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement