3

Replacing text in Perl given by command line

view full story
linux-howto

http://www.unix.com – Hi I need to write a Perl script that the file given as first argument of the command line that will find all occurrences of the string given as the third argument of the command line and replace with the string given as the fourth argument. Name newfound file is specified as the second argument of the command line. I don't now how to get the atributes from comand line and how to write in the new file. Thank you. (HowTos)