From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#1388: 23.0.60; Emacs shell problem with echo "1+1" | bc Date: Fri, 28 Nov 2008 21:34:44 -0500 Message-ID: References: <7p1vx3jwyo.fsf@fencepost.gnu.org> <18728.51742.251222.477040@fencepost.gnu.org> <921vx1efa4.fsf@fencepost.gnu.org> <5uskpgfmuy.fsf@fencepost.gnu.org> Reply-To: Glenn Morris , 1388@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227927034 13548 80.91.229.12 (29 Nov 2008 02:50:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2008 02:50:34 +0000 (UTC) Cc: 1388@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 29 03:51:35 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6Fvi-0004K1-Op for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 03:51:35 +0100 Original-Received: from localhost ([127.0.0.1]:35091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6FuY-00009U-NI for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Nov 2008 21:50:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6FuU-00009D-Gy for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2008 21:50:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6FuS-000091-Cn for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2008 21:50:17 -0500 Original-Received: from [199.232.76.173] (port=55907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6FuS-00008y-9i for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2008 21:50:16 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42102) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6FuR-0006t5-Ny for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2008 21:50:16 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAT2oCBm007849; Fri, 28 Nov 2008 18:50:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAT2j3AC005919; Fri, 28 Nov 2008 18:45:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 29 Nov 2008 02:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1388 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1388-submit@emacsbugs.donarmstrong.com id=B1388.12279261094163 (code B ref 1388); Sat, 29 Nov 2008 02:45:03 +0000 Original-Received: (at 1388) by emacsbugs.donarmstrong.com; 29 Nov 2008 02:35:09 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAT2Z6fw003715 for <1388@emacsbugs.donarmstrong.com>; Fri, 28 Nov 2008 18:35:07 -0800 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L6FfQ-0006YG-Jz; Fri, 28 Nov 2008 21:34:44 -0500 X-Spook: Waco, Texas Defcon Al-Qaeda cracking UMTS MP5K-SD PGP X-Ran: }vu0ZC?g^`3Q-h$F'|JP{_W9|F;,Gp9MT=W#ao*O"8lc9_kqW?|b%w[6=yq@4^-A_r"<*5 X-Hue: blue X-Attribution: GM In-Reply-To: (Stefan Monnier's message of "Thu, 27 Nov 2008 13:21:11 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 28 Nov 2008 21:50:17 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22757 Archived-At: Stefan Monnier wrote: > So maybe you can convince me that it's not making things worse in > other circumstances, or that those circumstances are much less > likely (or didn't work well anyway in the past for other reasons). Let's see: i) I didn't change the behaviour for the first element in a pipeline. ii) For the "middle" elements, it must be more correct to uses pipes, must it not? iii) For the last element, I dunno. One has to use pipes for the bc case to get the right result. Checking if the final command in a pipeline looks like "bc" and if so doing something special seems like an ugly hack. That's about all I can say.