title: Create output file names based on input file name with autonumbers shell script linux
body: <p>I need to automate a process using a script and generate output files similar to the name of the input files but with some additions to it.</p>
  
  <p>my process is a Java code. two input arguments and two output arguments.</p>
  
  <p>java #process_class# abc.txt abd.txt abc.1.out abd.a.out</p>
  
  <p>If i want to iterate this for the set of text files in my folder how can i do this</p>