From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#29157: 25.3; Eshell parsing fails sometimes, e.g. "date" and "sed" Date: Sun, 26 Nov 2017 13:45:30 -0800 Message-ID: References: <87tvy9rm5z.fsf@gmail.com> <87lgjk7rpd.fsf@users.sourceforge.net> <87lgjkoloe.fsf@gmail.com> <87shd5znzf.fsf@users.sourceforge.net> <87po891o1t.fsf@gmail.com> <87po89ywv5.fsf@users.sourceforge.net> <8360a1arlf.fsf@gnu.org> <87lgiui6qc.fsf@gmail.com> <83y3mu6ttn.fsf@gnu.org> <83o9np6om8.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1511732848 16146 195.159.176.226 (26 Nov 2017 21:47:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 26 Nov 2017 21:47:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (darwin) Cc: 29157@debbugs.gnu.org, ambrevar@gmail.com, npostavs@users.sourceforge.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 26 22:47:23 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJ4li-00035p-DV for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Nov 2017 22:47:18 +0100 Original-Received: from localhost ([::1]:58111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ4lj-0004LC-7e for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Nov 2017 16:47:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ4lX-00040T-H9 for bug-gnu-emacs@gnu.org; Sun, 26 Nov 2017 16:47:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJ4lS-000671-Jl for bug-gnu-emacs@gnu.org; Sun, 26 Nov 2017 16:47:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51013) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJ4lS-00066x-Fi for bug-gnu-emacs@gnu.org; Sun, 26 Nov 2017 16:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJ4lS-0006qV-9E for bug-gnu-emacs@gnu.org; Sun, 26 Nov 2017 16:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Nov 2017 21:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29157-submit@debbugs.gnu.org id=B29157.151173276426244 (code B ref 29157); Sun, 26 Nov 2017 21:47:02 +0000 Original-Received: (at 29157) by debbugs.gnu.org; 26 Nov 2017 21:46:04 +0000 Original-Received: from localhost ([127.0.0.1]:59693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJ4kS-0006oW-G5 for submit@debbugs.gnu.org; Sun, 26 Nov 2017 16:46:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJ4kK-0006nz-1N for 29157@debbugs.gnu.org; Sun, 26 Nov 2017 16:45:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJ4kA-0005aU-HE for 29157@debbugs.gnu.org; Sun, 26 Nov 2017 16:45:47 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ4kA-0005aQ-E9; Sun, 26 Nov 2017 16:45:42 -0500 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:49529) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1eJ4k9-0003d1-VT; Sun, 26 Nov 2017 16:45:42 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 8029E208BD; Sun, 26 Nov 2017 16:45:41 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sun, 26 Nov 2017 16:45:41 -0500 X-ME-Sender: Original-Received: from localhost (76-234-69-149.lightspeed.frokca.sbcglobal.net [76.234.69.149]) by mail.messagingengine.com (Postfix) with ESMTPA id 1BA05240B2; Sun, 26 Nov 2017 16:45:41 -0500 (EST) In-Reply-To: <83o9np6om8.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Nov 2017 17:33:51 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140427 Archived-At: >>>>> Eli Zaretskii writes: > Maybe not in this case, but other Eshell commands definitely feature similar > behaviors, and there you cannot convince me it's an accident, because the > behavior is documented in the doc string. Wait, not trying to convince you of anything, just responding to what eshell/date acts weird when given arguments. It's "news to me" in other words. >> In hindsight, a separate eshell/date function should have been created that >> would handle its arguments like the system command. > There is such a function: *date. I mean, an implementation that works when no system "date" command exists, yet accepts arguments similar to what system date accepts. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2