Solved with a long-liner:
perl -aple '$" = ","; my $rx = join "", map qq((\Q$_\E)?), split //, $ +F[1]; chomp; $_ .= " @{[map $_+1, @-[split /,/, $F[5]]]}" if $F[3] = +~ $rx;'
In reply to Re: String processing
by Anonymous Monk
in thread String processing
by dovah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |