Sorry for not being clear.. I have a unix script which does lots of steps in that sctipt one script generates PDF files and in other step I need rename them to add some additional information and rename the file with that additional info and i need to give those files to the third step.
I just gave one example.. i will not know the actual file name at the time of execution of script.. in the second step before the rename is called i perfom a find using this "069A5909837" value then I have the files in the list. Then i need to do the re-name to add "5A8Y6_069A59098374" in the file name. Hope this explains my issue.
Please help me how i can achieve this with variables. In the run time i will the 2nd parameter in the new filename in a varables..
Examples
OldFileNme = FD_0069A59098374_0502112_060915.PDF
PARAM1 = _5A8Y6
I need a script which can inject PARAM1 in to the second parameter of the OldFileNme and rename..