From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14715 invoked by alias); 16 Apr 2013 17:13:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31266 Received: (qmail 2928 invoked from network); 16 Apr 2013 17:13:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Tue, 16 Apr 2013 19:05:18 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: HIST_IGNORE_DUPS ignores lines which differ by a different number of spaces Message-ID: <20130416170518.GD18872@xvii.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6304-vl-r59709 (2013-04-11) I can see the following bug with zsh 5.0.2 under Debian (zsh/experimental Debian package). Consider: % setopt HIST_IGNORE_DUPS % echo " " % echo " " If I type the up arrow, I get echo " " as expected, but if I type the up arrow a second time, I get setopt HIST_IGNORE_DUPS instead of echo " " and: % history 1 setopt HIST_IGNORE_DUPS 2 echo " " Reported on the Debian BTS: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705555 -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)