Experts,
New Year Greetings to everyone!
Is there a way I can query the filename from the file itself?
I am writing a bunch of similar 'csh' scripts, which differ by the file name and same difference is inside the script.
e.g.
script1.run.csh
....
set vrbl = script1
....
script2.run.csh
....
set vrbl = script2
....
So if can somehow query the filename, I will be able to parse it and don;t have to manually edit the script file for these changes.
Any ideas, on how this can be accomplished?
Thanks,
Sumit