[Bug 1290891] Re: Ability to write compressed data to stdout

Sworddragon 1290891 at bugs.launchpad.net
Thu Mar 13 18:27:40 UTC 2014


> Yes: it breaks the interface and a sanity check that has been
> in action for longer than *buntu exists.

I don't know what these checks are doing but maybe this makes sense or
not - I don't know.


> Ehm no: if you popen() it, the output is not a tty, so the check
> is not triggered. It is *only* triggered if you directly connect
> a terminal to the xz command's stdout.

Ah, thanks for the information.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to xz-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1290891

Title:
  Ability to write compressed data to stdout

Status in “xz-utils” package in Ubuntu:
  Invalid

Bug description:
  I'm using Ubuntu 14.04 dev with xz-utils 5.1.1alpha+20120614-2ubuntu2
  and xz-utils provides the option -c to write to stdout but
  interestingly this doesn't work with compressed data:

  sworddragon at ubuntu:~/tmp$ xz -c 1
  xz: Compressed data cannot be written to a terminal
  xz: Try `xz --help' for more information.

  
  As compressed data is not uncommon for a compressing application maybe writing compressed data to stdout can be supported too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xz-utils/+bug/1290891/+subscriptions



More information about the foundations-bugs mailing list