|
Running java program with arguments in Unix"
Hi
I am a new newbie to java so pardon if this is too simple for you .
This is my scenario. I have a java program which parses an xml and writes a .dat file. I execute this testparser.java in unix environment like this
java testparser xml1.xml
and it retuns me a .dat file
But my issue is I have to run my parser program for 40 xml files. The requirement is I have to create a script file and possibly with a for loop which will loop through 1-40 xml files and return me the .dat file.
I am really at a loss here. I am new both to Java and Unix
So pls help me out
Thanks in Advance
G
|