fn: sgnd_decision_normalize
Purpose
Normalize a decision input using the configured aliases and default.
Arguments
$1— entered value; $2: choices; optional $3: default value.
Output
Prints the canonical matching decision.
Returns
- 0 for recognized input; nonzero for an unsupported choice.
Usage
sgnd_decision_normalize "y" "Yes|Y,No|N" "No"
