Adolfo Perez Alvarez
517a2bd6ca
I'm no longer using this, preferring miscutils/pick instead. Keeping around as `kpick` just in case.
9 lines
131 B
Bash
Executable File
9 lines
131 B
Bash
Executable File
#!/usr/bin/env ksh
|
|
(( $# == 0 )) && exit 64
|
|
(( $# == 1 )) && echo $1 && exit 0
|
|
select choice in "$@"
|
|
do
|
|
print $choice
|
|
break
|
|
done
|