Path: csiph.com!aioe.org!news.glorb.com!usenet.stanford.edu!not-for-mail From: isabella parakiss Newsgroups: gnu.bash.bug Subject: problem with HISTCONTROL Date: Sat, 11 Jul 2015 18:43:33 +0200 Lines: 14 Approved: bug-bash@gnu.org Message-ID: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: usenet.stanford.edu 1436633017 24507 208.118.235.17 (11 Jul 2015 16:43:37 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/HSK+iLDZUXY3iXt9Z4buxjJacJ7CfF7Q8c7aQW8me8=; b=HheUhgJmqZjcPX7XigIKmPN+ES24QBTqbdFUpX4pI1Y/8rabHGGbPs1Bn6oBcf2SlO gFOwEPDEbqMLlV7QFI/e6A0xDZ2rWqCBeo9PRdwu6jwsnIXtVV8NR8PvE/i9QhJgeA+s Bg9IqmbbSOPzbxrg7woIqyCLt++mJ0cVyeh/Zrb9etHarfYOKuZwSeCqJkgilPLXuMc2 LjpjU6TWs2WMnzm5Fn8boaddKkVgNQUctDtU6PEUx+i9Egj1Kt8HuHjqQqoU+4F19T9G 1y7Tup/dSmuNwXZh0as24M31E5R1uJixVXIpe3cO9jFjL4XOL85Mk/pVRmiMHa4LIXXA vWeQ== X-Received: by 10.50.138.73 with SMTP id qo9mr4578969igb.64.1436633013401; Sat, 11 Jul 2015 09:43:33 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::234 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: aioe.org gnu.bash.bug:11185 When the value of HISTCONTROL is ignoredups or ignoreboth, if you enter a command and then open the editor and add lines to it without changing the first line, only the first line will be stored in the history. I'm terrible at explaining, but I recorded what happens: https://asciinema.org/a/23275 Hopefully it's clear enough, I'm pressing up arrow to get that line. I tested a few versions and I can reproduce it in 3.1 and above. --- xoxo iza