I'm new to linux shell scripting. I have few input files that I have to parse one by one. So in my "work in progress" WIP folder I have one input file at a time. While one file is under processing I want a log file to be created in the LOG folder with the same name as that of input file but with the extension .log . Any inputs on how I can create another file with the same name of a different file?
So what I actually want to do is - copy the filename and store it in a variable, then use the variable to create a $variable.log file and write log to it.