A very basic bash spec solution