View Single Post
Old 06-27-2008   #1 (permalink)
Jacob Saaby Nielsen


 
 

Strategy for handling parameters to a script

Hey guys,

anyone got any good way to handle parameters to a script ?

E.g. the script takes certain parameters.
What's the best way to check if they're set, and if they are to use them,
if they're not, how to not use them.

Anybody did something they wanna share in that regard ?

I'm thinking something that builds a command, but there might be a much better
way.

Please share how you accomplish this

Best Regards,
Jacob Saaby Nielsen

http://www.ijacob.info
gmail: jacob DOT saaby
hotmail (IM/LinkedIN/Facebook): same as gmail


My System SpecsSystem Spec