Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Possible ZSH bug with IO direction
- X-seq: zsh-workers 38313
- From: Roger Qiu <roger.qiu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Possible ZSH bug with IO direction
- Date: Sun, 24 Apr 2016 04:30:20 +1000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polycademy-com.20150623.gappssmtp.com; s=20150623; h=sender:to:reply-to:from:subject:organization:message-id:date :user-agent:mime-version:content-transfer-encoding; bh=IFTdFjQ+8wJfrOcNHBLTDV39WNj6sjZboKRVSNDAUqE=; b=OH53adC++0qnCkjBYuAYILjmW54vyM2ShdOYLjfvVhnvuA3xtMHDe9oLyYOxPvjY1f ujGSZfFSYnI5tbVcCiHNgWuiR82WMxvbzWq59oySmyI1D6GlzdIU5ZCjAmeyXT4XVjYz EaSO2XqShH11HJssiu6nzbZAdXNCinK4xoqguElEQbUtofoVlDz9QnGEA/raoo7DSKDU Y3nPtP6DqQRcp8YEf0pleQD3be72O4f0IptJtVdi3pOtSyhQVsVvz468Vbc83Y5GUIb4 oyFG37pd1tKpsyULewQPkY6p8890rE0dhznIFy1Zv2HTm8JGVnFmLepZNJcqOEZj4NjW 1Mvg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Matrix AI
- Reply-to: roger.qiu@xxxxxxxxx
- Sender: Roger Qiu <roger.qiu@xxxxxxxxxxxxxx>
Hi,
I'm running ZSH on Cygwin. But earlier I noticed this error:
```
> gm convert -compress JPEG - - < input.jpg > output.jpg
gm convert: Corrupt JPEG data: 873 extraneous bytes before marker 0xd9
(/tmp/gmo1fx92).
```
These 2 work fine in ZSH:
```
> cat input.jpg | gm convert -compress JPEG - - > output.jpg
> gm convert -compress JPEG input.jpg output.jpg
```
While all 3 above commands work in Bash without problems.
I'm reporting it here to see if anybody else is meeting the same
problem, and if so, perhaps it is a ZSH bug.
I had asked this earlier in:
http://stackoverflow.com/questions/36495113/in-zsh-redirecting-image-file-into-graphic-magick-results-in-corrupt-jpeg-data
Thanks,
Roger
--
Founder of Matrix AI
https://matrix.ai/
+61420925975
Messages sorted by:
Reverse Date,
Date,
Thread,
Author