Bug#673265: automysqlbackup: Tidier sample database retrieval commands

2012-05-18 Thread A A
On Thu, May 17, 2012 at 1:04 PM, Daniel Andersson wrote: >    DBNAMES=$(mysql --defaults-file=/etc/mysql/debian.cnf --execute="SHOW > DATABASES" | awk 'BEGIN{ORS=" "}!/^(Database|mysql)$/') In light of #673257, my above suggestion should be changed to the one following below. I also skip `inform

Bug#673265: automysqlbackup: Tidier sample database retrieval commands

2012-05-17 Thread Daniel Andersson
Package: automysqlbackup Version: 2.6+debian-2 Severity: minor The default configuration example of DBNAMES=`mysql --defaults-file=/etc/mysql/debian.cnf --execute="SHOW DATABASES" | awk '{print $1}' | grep -v ^Database$ | grep -v ^mysql$ | tr \\\r\\\n ,\ ` can be done tidier in a single text