How anchor to line end in bash regex [[ ]]
h=hi
[[ $h =~ ^hi\$ ]] && echo Yes

cannot work, or is it bug yet

Reply via email to