parsing command line arguments multiple times



Hi,
i have a requirement, as in based on one command line option, the rest of
the arguments change for the same script.
eg: script could be called in either of the ways
script1 -option1 -option2 adfas -option3
script -option1 -option4
my question is
1. how do we get the option1 alone from GetOptions function
2. can i call GetOptions multiple times?
how would you handle such situation
thanks in advance for the help!!


Relevant Pages

  • Re: parsing command line arguments multiple times
    ... >> i have a requirement, as in based on one command line option, the rest ... >> of the arguments change for the same script. ... can i call GetOptions multiple times? ... > but while i am processin any one options, i get an error message saying ...
    (perl.beginners)
  • Re: problems with JPEG images
    ... using the command line or a script. ... Why would the appearance of my saved figure depend on the method I ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • threads problems
    ... I have problems with the threads 2.6.1 extension: ... when I run any script the command "package require Threads" stacks and the ... Prev by Date: ...
    (comp.lang.tcl)
  • I have IIS and ASP.NET on my computer but it is not running....
    ... I've tried to use the aspnet_regiis.exe -i command, ... cannot start any ASP.NEt project and VB Script does not work in HTML ... Prev by Date: ...
    (microsoft.public.dotnet.framework.setup)
  • Re: file::find
    ... Problem is that my script returns less files like dir command. ... Amongst others all ... Prev by Date: ...
    (perl.beginners)