Brackets ([]) and include a space, as shown:
#!/bin/bash
colnum=19
if [ $colnum==19 ];then
echo " colnum == 19"
fi
Brackets ([]) and include a space, as shown:
#!/bin/bash
colnum=19
if [ $colnum==19 ];then
echo " colnum == 19"
fi