List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:April 26 2000 9:39pm
Subject:Re: mysql -e doesn't keep formatting when piped to file.
View as plain text  
In the last episode (Apr 26), Jason Granum said:
> When I do a:
> 
> mysql -e 'command here' > filename
> 
> the file contains the output that mysql -e would have outputted but
> without the bars, and without the formatting that it uses to align
> everything all nice and neat.
> 
> I'm needing the formatting because I'm going to then pipe the file to
> email, so I can keep a count, etc every night on whats in the
> databases. Without the formatting its painfull to look at.
> 
> How can I get around this problem?

  -t  --table           Output in table format                                  


 

-- 
	Dan Nelson
	dnelson@stripped
Thread
mysql -e doesn't keep formatting when piped to file.Jason Granum27 Apr
  • Re: mysql -e doesn't keep formatting when piped to file.Dan Nelson27 Apr
  • Re: mysql -e doesn't keep formatting when piped to file.Steve Ruby27 Apr