Read the file one line at a time. For each line, split it into separate records, rearrange the records, and print them out.
Which part exactly are you having problems with? What have you tried so far?
In reply to Re: Re-organising entries
by moritz
in thread Re-organising entries
by $new_guy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |