> Did not work

I wonder ...

> prompt > echo "select * from Tickets limit 1;" | mysql mydb > res
> prompt > cat res
> 
> id      EffectiveId     Queue   Type    IssueStatement  Resolution
> Owner   Subject InitialPriority FinalPriority   Priority        Status
> TimeWorked      TimeLeft        Told    Starts  Started Due     Resolved
> LastUpdatedBy   LastUpdated     Creator Created Disabled
> 5       5       4       ticket  NULL    NULL    16      RE: phonebook   10
> 80      10      resolved        0       NULL    1970-01-01 00:00:00
> NULL    NULL    1970-01-01 00:00:00     NULL    1       2001-04-17
> 18:38:02     1       2001-04-17 18:26:46     0
> 
> Still wrapped :-)
> ...

How wide is your terminal window?

I've never had CRs actually put into the output, so all I've ever dealt
with was terminal wrap. Judging from the header lines

> > > +----+-------------+-------+--------+----------------+------------+-------+---------------+-----------------+---------------+----------+----------+------------+----------+---------------------+--------+---------+---------------------+----------+---------------+---------------------+---------+---------------------+----------+
> > > |  5 |           5 |     4 | ticket |           NULL |       NULL |    16
> > > ...

I'm guessing your problem is terminal wrap, too. Viewing in the GUI (X
Windowing System) is probably your answer. Stretch your terminal window
wide. If that isn't enough, pipe to a file and break out a text editor
that scrolls horizontally as well as vertically.

-- 
Joel Rees <[EMAIL PROTECTED]>


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to