awk/testdir/t.sub2

3 lines
51 B
Plaintext

{sub(/.$/,"&&"); print}
{sub(/.$/,"&\\&&"); print}