in reply to add text to each line of a file
What about
? :-)ypcat passwd | perl -F: -lane 'print "$F[0]\@domain.local"' > oneliner +.out
thor
Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come
In Section
Cool Uses for Perl