Binand Sethumadhavan wrote:
,----
| perl -pi -e 's/$/@somedomain.com/' filename
|
| Create a backup of your file before you try anything!
`----
Or if you want to not screw the input file, then make it:
perl -pi -e 's/$/@somedomain.com/' <filename
cheers,
-Suraj
--
,-----------------[http://www.symonds.net/~suraj/]---o
| Patnam Subramania Iyer was called Little Tyagaraja.
`------------------------------[suraj@xxxxxxxxxxx]---o