9 lines
131 B
Plaintext
9 lines
131 B
Plaintext
|
#!/usr/bin/env ksh
|
||
|
(( $# == 0 )) && exit 64
|
||
|
(( $# == 1 )) && echo $1 && exit 0
|
||
|
select choice in "$@"
|
||
|
do
|
||
|
print $choice
|
||
|
break
|
||
|
done
|