whiptail on ubuntu
whiptail is a subset of dialog’s functionality on ubuntu, notably, it’s already installed. I used it to wrap some tests which are executed automatically by non-technical people.
The major trick for getting whiptail menu results as variables: redirect stderr to stdout (via fd 3).
FOO=$(whiptail --menu A foo B bar 3>&1 1>&2 2>&3)
if [[ $FOO = "" ]]; then
echo cancelled; exit 1
# etc
A more complete (but still truncated) example:
#!/bin/bash
# This is a subset
LibZFS on FreeBSD
Hudson, on Solaris, can use ZFS to do things like fast workspace deletion and - much more interestingly - source code control management checkout replication for matrix jobs. Considering we have a job with 20 matrix elements each requiring a git clone and checkout of a large repository this would shave a considerable amount of time off a build.
We also have a problem with our build setting the “immutable” flag,