Hi,
I would like to evaluate $bool bash-variable with help of this awk command
eval $bool=\\$(awk -v str=$bn 'BEGIN{print (match(str,/tau(1|2|3|4|5|6)/) ? 1 : 0)}');
So, when str in awk match this regexp $bool should be 1 (otherwise 0)
Where I make misstake here?
thanks
I would like to evaluate $bool bash-variable with help of this awk command
eval $bool=\\$(awk -v str=$bn 'BEGIN{print (match(str,/tau(1|2|3|4|5|6)/) ? 1 : 0)}');
So, when str in awk match this regexp $bool should be 1 (otherwise 0)
Where I make misstake here?
thanks