On Mon, May 19, 2008 at 06:21:18PM +0100, Sam Mason wrote: > for t in foo bar baz > do ( while echo "VACUUM $t;" && false ; do true ; done | psql ) & > done oops, that "&& false" shouldn't be there! like like this: for t in foo bar baz do ( while echo "VACUUM $t;" ; do true ; done | psql ) & done Sam