This is the first time I am working on Linux Scripting and have a questions from the linux gurus.
I need to create a script which will replace a predefined text in given set of files with a varible.
example: File Name: Total_Sales_COM.PDF
In my script, first I am creating a varaible, lets call it $Company_Cd, and assigning company code, e.g. 512, to that variable.
The second task I have to perform is rename the above mentioned file name, Total_Sales_COM.PDF, as Total_Sales_512.PDF.
I tried to search on different forum, but so for no luck. I will really appreicate if someone could help me with this issue.
Thank you in advance.
Last edited by sudkool; 05-13-2009 at 05:14 PM.