From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19242 invoked by alias); 21 Sep 2013 07:10:51 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17986 Received: (qmail 8284 invoked from network); 21 Sep 2013 07:10:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.220.54 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=Ph9bGJjsYwetoSbgX8O1/+qkMB+eEc7CNOGuQtDFvv4=; b=pmWS/5CYCTOsaPptGxeoQlA4u/eVT7V4p35PBU6HAu2HL2dM9O/29peE750wk2v568 r8hj/wYyGioJY8wKVqr5LBQNo459O3lwfDkluNcZagTRPImWKlIlO7+Y2uS3+7ft+iAg /f5DD1j9BnGkdQNSViarW42vffEqXBs40kmHLNfUkYA0XYLsyt3AasEbTZnHTKFICIqE RLijyiQLutGf5JVuelemwRQWFhuvoYhbsU0ySS8SvdHzjtjvsZeU3CJO/E++Kl9SG9VQ RRxpYqueb/u56ZrMPmO3xKjHTN5/KGK6TnCjmcyj0+RfuIWo/Q6rbhyKQQRNc6sFmfZY +H6A== X-Received: by 10.66.230.233 with SMTP id tb9mr13266957pac.38.1379747438592; Sat, 21 Sep 2013 00:10:38 -0700 (PDT) From: chandan To: zsh-users@zsh.org Subject: zsh blocks at file truncation Date: Sat, 21 Sep 2013 12:40:31 +0530 Message-ID: <12896374.TIKZVcXBhR@localhost.localdomain> User-Agent: KMail/4.10.5 (Linux/3.10.11-200.fc19.x86_64; KDE/4.10.5; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi all, Like most others I am trying to move from bash to zsh as my default shell. On zsh, Why does the following block indefinitely? $ >file.txt On bash, the above would truncate a file. Also, on bash 'file.txt' would be created if it does on exist. After some debugging, I found that the above command blocked at the invocation of the 'cat' command (as provided by 'ps -c '). Thanks, chandan