I suggest you look at either perlretut for a regular expression solution or look at split for a split solution. The code would look rather similar in either case.
In reply to Re: Swap Input lines
by GrandFather
in thread Swap Input lines
by 300zxmuro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |