Simple Qns: How to read and output arguements
Dear all,
How to do a script to do the following?
CommandA <fileA.txt> <fileA.XXX>
Take in the first arguement - e.g. fileA.txt and output to second arguement - e.g. fileA.XXX
Where the 2nd arguement must be the same filename of the first except only the extension which is different?
Many Thanks in advance.
regards,
|