sed -i.bak 's/\left|\left|\([^|]*\)\right|\right|/\norm{\1}/g' *.tex -- fixing norms