Wow, nice! I thought this wouldn't work, but it turns out that a2p seems to handle it correctly, even with the FNR variable, and even gives not too ugly code,
I guess I just had disappointments with s2p, which doesn't even know about the gsed extension of semicolons working as statement separators.
In reply to Re^2: how to change this code into perl
by ambrus
in thread how to change this code into perl
by perlnewbie012215
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |