List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:March 16 1999 3:45pm
Subject:Re: how do I get formatted output on command line?
View as plain text  
In the last episode (Mar 16), Wade Maxfield said:
> 
>   When I use mysql interface, and do a "select * from table", I get a very
> nice formatted output. It boxes in the information and lines it up nicely.
> 
>   If I do "mysql database <sql_file", I get the same information, without
> the formatting. Columns don't line up causing much confusion.
> 
>   I looked in the documentation, but could not find a reference to how to
> format the output that goes to the command line.  I looked over the output
> of mysql --help, but got lost.
> 
>   Anyone??


$ myssql --help

...
  -t  --table=...       Output in table format
...

is the option you want.

	-Dan Nelson
	dnelson@stripped
Thread
how do I get formatted output on command line?Wade Maxfield16 Mar
  • Re: how do I get formatted output on command line?Dan Nelson16 Mar