Peter Lemus wrote:
> 
> Hi I need to add a word to the end of a word inside a
> file.
> 
> for example:  I will read a file with these names
> july
> tony
> richard
> 
> then I want to add the following to the name
> @minime.com.  So it will look like [EMAIL PROTECTED]


perl -pli -e's/$/\@minime.com/' yourfile.txt


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to