StDoodle
Minion
Hey all!
In my limited testing, it appears that all of the modifier functions which accept an additional string parameter can make use of "_spec", not just the stat-related ones.
My questions are:
1) Is there an exception I'm missing? (Ie a function that won't consider whatif / speculate results when passed "_spec" as a parameter.)
2) Is there anything I can pass as that optional parameter that will mean "ignore the optional parameter"? I'd like to have quite a few functions that work for both situations (using spec, using current), and it would be much simpler to set a single string variable than to do a ton of overloading. But, I can do that if I must.
3) Is there anything I'm missing for doing whatif / speculate in ash, other than cli_execute()?
Thanks all!
Edit to add: Doh, how did I miss "quiet," which appears to be the optimal solution to #3.
In my limited testing, it appears that all of the modifier functions which accept an additional string parameter can make use of "_spec", not just the stat-related ones.
My questions are:
1) Is there an exception I'm missing? (Ie a function that won't consider whatif / speculate results when passed "_spec" as a parameter.)
2) Is there anything I can pass as that optional parameter that will mean "ignore the optional parameter"? I'd like to have quite a few functions that work for both situations (using spec, using current), and it would be much simpler to set a single string variable than to do a ton of overloading. But, I can do that if I must.

3) Is there anything I'm missing for doing whatif / speculate in ash, other than cli_execute()?
Thanks all!
Edit to add: Doh, how did I miss "quiet," which appears to be the optimal solution to #3.
Last edited: