"Voytek" <[EMAIL PROTECTED]> writes:

> ------
> +-------------------+
> |     Databases     |
> +-------------------+
> | atom              |
> | commodore         |
> ------
>
> perhaps some has such a script already ?

mysqlshow|perl -e 'while(<>){if(/\|\s([^ ]+)/){print "$1\n"}}'

which assumes no spaces in database names. 

But I think there would be a more eloquent way.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to