From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward500p.mail.yandex.net (forward500p.mail.yandex.net [77.88.28.110]) by sourceware.org (Postfix) with ESMTPS id C206D385783B for ; Tue, 8 Mar 2022 08:35:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C206D385783B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru Received: from iva5-f90c153e7fcb.qloud-c.yandex.net (iva5-f90c153e7fcb.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:7d80:0:640:f90c:153e]) by forward500p.mail.yandex.net (Yandex) with ESMTP id AB57DF01E60 for ; Tue, 8 Mar 2022 11:35:01 +0300 (MSK) Received: from iva5-057a0d1fbbd8.qloud-c.yandex.net (iva5-057a0d1fbbd8.qloud-c.yandex.net [2a02:6b8:c0c:7f1c:0:640:57a:d1f]) by iva5-f90c153e7fcb.qloud-c.yandex.net (mxback/Yandex) with ESMTP id ZXiGTY99QL-Z1euiN2C; Tue, 08 Mar 2022 11:35:01 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1646728501; bh=V7vCL1L+yBWbWlb8fxk04dI9C/ozUmpLJ4LO2x53GOk=; h=In-Reply-To:Subject:To:From:Message-ID:References:Date:Reply-To; b=Bon4cukwhxISHUyywYbxOZWAPD4nqG+r/IlcrP0PwPCf3yk7thI8RhHYJaLQYT0QC XD8urgIEJkSvEaNylz1DIxdX1Hvj7y55fdxQU6/qeO3CJw29421apNvnXmMACuxsUN m/jzKNZJAgW9i0NNyBMXVx2jhfJxzBi30Cm4C/UU= Authentication-Results: iva5-f90c153e7fcb.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by iva5-057a0d1fbbd8.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id s0qKwKwdP2-Z0JOlWbn; Tue, 08 Mar 2022 11:35:01 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Tue, 08 Mar 2022 08:28:37 -0000 Date: Tue, 8 Mar 2022 11:28:33 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <1277951355.20220308112833@yandex.ru> To: Adam Dinwoodie , cygwin@cygwin.com Subject: Re: minor error in skel/.bashrc In-Reply-To: <20220305132522.uq4yfrvmnrn4szvf@lucy.dinwoodie.org> References: <20220305132522.uq4yfrvmnrn4szvf@lucy.dinwoodie.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, XM_LIGHT_HEAVY autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2022 08:35:23 -0000 Greetings, Adam Dinwoodie! > On Sat, Mar 05, 2022 at 09:26:06AM +0300, lvm wrote: >> The identical /etc/skel/.bashrc and /etc/defaults/etc/skel/.bashrc contain >> the same line >> >> # export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups Not a nitpick or anything, but I've found a slightly clearer technique on the internet: export HISTCONTROL=${HISTCONTROL:+$HISTCONTROL:}ignoredups >> >> But HISTCONTROL values should be colon separated, not comma separated. This >> line is commented out, but if someone like me tries to use it without much >> thinking... > Confirmed. > Achim, I've attached a patch that should fix this, based on the tip of > https://sourceware.org/git/cygwin-apps/base-files.git -- With best regards, Andrey Repin Tuesday, March 8, 2022 11:14:29 Sorry for my terrible english...