$ perl -lanF'\s:\s' -e'print {$F{$F[1]} //= IO::File->new("$F[1].txt", "w")} $F[0]'
In reply to Re: Break a file into seperate files based on string match
by Anonymous Monk
in thread Break a file into seperate files based on string match
by hvirani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |