ref: 2a3ee1c2e3e1ea6477ca8715bf1531dbf34367a1 dir: /testdir/t.sub2/
{sub(/.$/,"&&"); print} {sub(/.$/,"&\\&&"); print}