Ankit-Kulkarni

Bash error .

Feb 11th, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.11 KB | None | 0 0
  1. t=`[[ "50:b7:c3:48:e3:91" =~ "^([a-fA-F0-9]{2}:){5}[a-zA-Z0-9]{2}$" ]] && echo yes || echo no`
  2. echo "dollar t is $t"
Add Comment
Please, Sign In to add comment