hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3973) HBase IRB shell: Don't pretty-print the output when stdout isn't a TTY
Date Fri, 17 Jun 2011 11:00:50 GMT

    [ https://issues.apache.org/jira/browse/HBASE-3973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050987#comment-13050987
] 

Hudson commented on HBASE-3973:
-------------------------------

Integrated in HBase-TRUNK #1976 (See [https://builds.apache.org/job/HBase-TRUNK/1976/])
    

> HBase IRB shell: Don't pretty-print the output when stdout isn't a TTY
> ----------------------------------------------------------------------
>
>                 Key: HBASE-3973
>                 URL: https://issues.apache.org/jira/browse/HBASE-3973
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Minor
>             Fix For: 0.90.4
>
>         Attachments: hbase-hirb-formatter.patch
>
>
> In the HBase shell, when the output isn't a TTY, the shell assumes the "terminal" to
be 100 characters wide.  The way the shell wraps things around makes it very hard to script
the output of the shell (e.g. redirect the output to a file and then work on that file, or
pipe the output to another command).
> When stdout isn't a TTY, the shell shouldn't try to wrap things around.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message