shakeel.sorathia

Passing arguments via nsa

Discussion created by shakeel.sorathia on Dec 3, 2009
Latest reply on Dec 3, 2009 by shakeel.sorathia
So maybe I am totally missing this, but I'm trying to pass an argument to my nsa script, however, I can't figure out how to do that.  In looking at the documentation, I find that the -a flag can be used to pass an argument to the script, however, I can't figure out exactly how to get at that argument in the script.  I've tried the default argv, but that wasn't populate.  So my question is how would I execute a script like such:  ./nsa -a argument test   and in my test script be able to see the argument that I passed using the -a flag?

--shakeel

Outcomes