You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Benoit Sigoure (JIRA)" <ji...@apache.org> on 2011/06/10 00:13:59 UTC

[jira] [Updated] (HBASE-3973) HBase IRB shell: Don't pretty-print the output when stdout isn't a TTY

     [ https://issues.apache.org/jira/browse/HBASE-3973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Sigoure updated HBASE-3973:
----------------------------------

    Status: Patch Available  (was: Open)

> 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
>         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