I have a file with several columns like $2$3 (until $20) as in
$2$3
$20
A refdevhet devdevhomo ... B refdevhet refdevhet ... C refrefhomo r