Bookmark Topic Watch Topic
  • New Topic

Read arguments from .csh file which is in next line thru Java class  RSS feed

 
Balaji Soundarajan
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am calling java class in .csh script file with command line arguments like Java storagesrv start -c - and I am validating the command line arguments in java class and if hyphen "-" is there in the command line argument then I have to read the value from next line in the csh file.

The csh file looks like

java storeSrv start -c -
dbs/formtek@vault


Need to read the dbs/formtek@vault value at runtime in storeSrv java class.
Kindly give me some idea to read the arguments which is in next line....
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not crosspost.

Continue in your other topic.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!