GNU bug report logs - #19658
unportable test(1) comparison operator

Previous Next

Package: emacs;

Reported by: Thomas Klausner <tk <at> giga.or.at>

Date: Thu, 22 Jan 2015 23:11:01 UTC

Severity: wishlist

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 19658-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 19658-done <at> debbugs.gnu.org
Subject: Re: unportable test(1) comparison operator
Date: Sat, 24 Jan 2015 19:03:47 -0800
Thanks I changed it to '[ $# -eq 0 ]', which is more portable yet, as it works 
even if a purposely-pedantic shell sets $# to '00'.




This bug report was last modified 10 years and 121 days ago.

Previous Next


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