On 06/04/2013 04:32 AM, Nathan Anderson wrote:
Depending on the complexity of the input you are expecting, might
it be enough to expect the user to set some global variables first, sanity-check the contents of those variables at the beginning of your script, and if they are empty or invalid, print out some usage/directions to the console and then quit? Not the most elegant, sure, but perhaps better than nothing...
This is how I am handling things now. I don't believe it is possible to gather input from the console user in a script. It's a shame, because it really would simplify one particular process for us.
-- Butch Evans 702-537-0979 Network Support and Engineering http://store.wispgear.net/ http://www.butchevans.com/ _______________________________________________ Mikrotik mailing list [email protected] http://mail.butchevans.com/mailman/listinfo/mikrotik Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

