From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#2407: 23.0.90; Emacs chokes on empty command line argument Date: Fri, 20 Feb 2009 11:17:38 +0100 Message-ID: References: Reply-To: Andreas Schwab , 2407@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1235126649 11110 80.91.229.12 (20 Feb 2009 10:44:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 10:44:09 +0000 (UTC) Cc: 2407@emacsbugs.donarmstrong.com To: Geralt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 20 11:45:24 2009 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 1LaSsa-0003sO-OV for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Feb 2009 11:45:13 +0100 Original-Received: from localhost ([127.0.0.1]:35109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaSrG-0004FF-BT for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Feb 2009 05:43:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LaSr8-0004F4-AU for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 05:43:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaSr5-0004El-8f for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 05:43:40 -0500 Original-Received: from [199.232.76.173] (port=52590 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaSr4-0004Ec-Lc for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 05:43:38 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43178) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LaSr4-0005f1-6l for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 05:43:38 -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 n1KAhaOB006588; Fri, 20 Feb 2009 02:43:36 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1KAP4aP000901; Fri, 20 Feb 2009 02:25:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Andreas Schwab Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 20 Feb 2009 10:25:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2407 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2407-submit@emacsbugs.donarmstrong.com id=B2407.123512506531751 (code B ref 2407); Fri, 20 Feb 2009 10:25:04 +0000 Original-Received: (at 2407) by emacsbugs.donarmstrong.com; 20 Feb 2009 10:17:45 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx2.suse.de (ns2.suse.de [195.135.220.15]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KAHfn9031731 for <2407@emacsbugs.donarmstrong.com>; Fri, 20 Feb 2009 02:17:42 -0800 Original-Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id CB5B1483B0; Fri, 20 Feb 2009 11:17:39 +0100 (CET) X-Yow: A can of ASPARAGUS, 73 pigeons, some LIVE ammo, and a FROZEN DAQUIRI!! In-Reply-To: (Geralt's message of "Fri, 20 Feb 2009 10:50:34 +0100") User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux) X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id n1KAhaOB006588 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 20 Feb 2009 05:43:40 -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:25505 Archived-At: Geralt writes: > This makes it impossible to just call emacs "$*" inside a shell script > (without checking if "$*" is an empty string). You should use "$@" anyway. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."