Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if [ -n "$(echo $1 | grep "^[_A-Za-z][_A-Za-z0-9]*$")" ]
- then
- echo yes
- else
- echo no
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement