Advertisement
Guest User

Untitled

a guest
Sep 20th, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. if [ -n "$(echo $1 | grep "^[_A-Za-z][_A-Za-z0-9]*$")" ]
  2. then
  3. echo yes
  4. else
  5. echo no
  6. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement