On Mon, Oct 17, 2005 at 01:20:47PM +0200, Michal Cihar wrote: > - if [ "$2" -eq "" ]; then > + if [ "$2" = "" ]; then Better yet: if [ -z "$2" ]; then or at least: if [ "x$2" = "x" ]; then --Paul Vojta, vojta@math.berkeley.edu