GNU bug report logs - #2407
23.0.90; Emacs chokes on empty command line argument

Previous Next

Package: emacs;

Reported by: Geralt <usr.gentoo <at> googlemail.com>

Date: Fri, 20 Feb 2009 10:00:02 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 2407 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: Geralt <usr.gentoo <at> googlemail.com>
Cc: 2407 <at> debbugs.gnu.org
Subject: Re: bug#2407: 23.0.90; Emacs chokes on empty command line argument
Date: Fri, 20 Feb 2009 11:17:38 +0100
Geralt <usr.gentoo <at> googlemail.com> 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.

-- 
Andreas Schwab, SuSE Labs, schwab <at> suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 16 years and 97 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.