delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Subject: | How do I prevent zsh from opening pipes and read redirections in text mode? |
Date: | Thu, 4 Dec 2008 09:40:35 +0100 |
Message-ID: | <3E4278088AD82C48B4663DDFE762CEF305A2DDED@prga004a.ww300.siemens.net> |
From: | "Hudec, Jan" <jan DOT hudec AT siemens DOT com> |
To: | <cygwin AT cygwin DOT com> |
X-purgate: | clean |
X-purgate: | This mail is considered clean |
X-purgate-type: | clean |
X-purgate-Ad: | Checked for Spam by eleven - eXpurgate www.eXpurgate.net |
X-purgate-ID: | 149917::081204094037-0B9D8BA0-54EDF9EE/0-0/0-15 |
X-purgate-size: | 802/0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id mB48fSfk014205 |
Hello Folks, I have a program (actually a cygwin program -- git-fast-import) that reads commands from standard input and absolutely needs the stream to be binary (byte counts to be read are included in some commands). However, zsh forces it's input to text mode both when I run: git-fast-import < file and cat file | git-fast-import despite me having all the mounts set to binary and CYGWIN=binary. How do I explain to zsh, that pipes and read redirections to commands must be binary? Note, that zsh used not to do this and bash is not doing it either. -- Jan Hudec
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |