I have wrote a script to search for a pattern and replace it in
all files of a directory,that i specified at commandline.
I want another one thing is to be done in the script.That's,it should
search only for the type of files I specified at commandline.
That is,it should get the extension of file name and search only those
files in the directory.
I have made a attempt in this script,but it goes on asking extension for
all the files in directory.
Plz help me in getting the things right in the following script.
Here I have use ...