7 lines
173 B
Bash
Executable file
7 lines
173 B
Bash
Executable file
#!/bin/sh
|
|
|
|
TITLE="$1"
|
|
PROMPT="$2"
|
|
LIST="$(while read line ; do echo "$line" ; done < "${1:-/dev/stdin}")"
|
|
|
|
zenity --list --title="$TITLE" --text="" --column="$PROMPT" $LIST
|