Hi, I am not really sure this is the right place to submit this, but anyway: Attached is a small patch to DBI::Shell Version 10.7 that makes batch mode work. Without this patch, in batch mode you will get an error like this: Command 'go' not recognised at /usr/lib/perl5/site_perl/5.005/i586-linux/DBI/Shell.pm line 379, <STDIN> chunk 1. Cheers, Christian Lemburg
--- Shell.pm.orig Sun Jan 28 17:09:00 2001 +++ Shell.pm Sun Jan 28 17:09:18 2001 @@ -369,7 +369,7 @@ $command = $sh->{abbrev}->{$cmd}; } else { - $command = ($sh->{command}->{$cmd}) ? $cmd : undef; + $command = ($sh->{commands}->{$cmd}) ? $cmd : undef; } if ($command) { $sh->run_command($command, $output, @args);