Hello Tim and DBI hackers,
I have started using dbish, because I am programming a device which
has very small storage, and dbish is smaller than the msql binary
(in a jffs2 filesystem).
I have found some bugs in the DBI/Shell.pm. I cannot send patch,
because I needed to cut some code from the original DBI/Shell, which
are not bug (use Text::Abbrev, Getopt::Long, etc).
- line 376: $sh->{command}->{$cmd} is a typo, use
$sh->{commands}->{$cmd} instead
- line 394: if (exists $sh->{term} && defined $sh->{term}) instead
of if ($sh->{term}) to eliminate a warning (it does not seem to be
working correctly, the warning is there so far...).
As I have seen, batch mode is too verbose (it prints the current
buffer after every line it has read from standard input).
Regards,
dLux
--
Don't waste your time helping people
if you can teach them to help themselves.