$ OUT=$(smenu -m xx -n 10 -M t0001.in) xx 37:01 38:01 1 2 3 4 5 6 7 8 9 10 36:07 $ $ echo ":$OUT:" :5: $ exit 0