I'm going to assume that every input line is comprised of a name and data and then 1 or more <job>s.
while(<INPUT>){ chomp; ($name,@jobs)=split /<job>/; for $job (@jobs) { print OUTPUT "$name <job>$job\n"; } }
Good luck
In reply to Re: Placing text onto multiple lines
by pzbagel
in thread Placing text onto multiple lines
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |