X-Loop: help-debbugs@HIDDEN Subject: bug#78329: bash extraction of segment from end of string returns full string Resent-From: <carlyle_moulton@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Fri, 09 May 2025 07:26:03 +0000 Resent-Message-ID: <handler.78329.B.17467755506596 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 78329 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 78329 <at> debbugs.gnu.org X-Debbugs-Original-To: <bug-automake@HIDDEN> Reply-To: carlyle_moulton@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17467755506596 (code B ref -1); Fri, 09 May 2025 07:26:03 +0000 Received: (at submit) by debbugs.gnu.org; 9 May 2025 07:25:50 +0000 Received: from localhost ([127.0.0.1]:35006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDI7A-0001iC-SV for submit <at> debbugs.gnu.org; Fri, 09 May 2025 03:25:49 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45054) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLh-0004Us-Me for submit <at> debbugs.gnu.org; Fri, 09 May 2025 02:36:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLb-0006fb-JY for bug-automake@HIDDEN; Fri, 09 May 2025 02:36:40 -0400 Received: from omr006.pc5.atmailcloud.com ([103.150.252.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLY-00072h-R5 for bug-automake@HIDDEN; Fri, 09 May 2025 02:36:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=au-east.atmailcloud.com; s=202306; h=Subject:From:Date:Mime-Version: Content-Type:Message-Id:To; bh=ne3RB1d9o0dY3Y3XIhdqmYr/CSCVqKLQmBh0DjbMrdY=; b=rV0McCt4ilQWjmQDb9i4qEawSUUdajzT7joLkU1sYsvANKq+eLAaHCJYCU5zKXzthhv2CNg/n2C kYLfbQmiOqFqbXdnC+5k+T2eBN1ZWWOurRCUuoLG8OggRXiA+0uBbxVbswuIjO4NeXlcTUucNcnAx 3OVXyQ+vMNzF3nRaD41K1ho4eBVRTeAjA7w7JH35cC13jqigV62JuFslQ37AW1iFbGikNJTzV5PTe 4tlQ3xujxu8newAWQyGqcvKc3ODrMyO9NwYuDlZt5D7DSsatl89k4gAyxhu7CXBc3PHs0p5fqyqZo mABxDdGWpmS+1F+uAIvwmS5YOJIYEwUtreQQ==; Received: from cmr.internal.pc5.atmailcloud.com (cmr.internal.pc5.atmailcloud.com [192.168.1.1]) by omr.internal.pc5.atmailcloud.com (Exim/cmr.i-0eb9d4307ef0414f9) with ESMTPS (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLQ-000000007S0-2dIr for <bug-automake@HIDDEN>; Fri, 09 May 2025 06:36:28 +0000 Received: from webmail.pc5.atmailcloud.com (webmail.pc5.atmailcloud.com [127.0.0.1]) by cmr.internal.pc5.atmailcloud.com (Exim/localhost) with ESMTPA (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLQ-000000001aB-1pJ5 for <bug-automake@HIDDEN>; Fri, 09 May 2025 06:36:28 +0000 Message-Id: <26c738ed-eafe-46ea-8e98-295b45bd15ee@localhost> Content-Type: multipart/alternative; boundary=79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43 Mime-Version: 1.0 Date: Fri, 09 May 2025 06:36:27 +0000 From: <carlyle_moulton@HIDDEN> X-Atmail-Id: carlyle_moulton@HIDDEN X-atmailcloud-spam-action: no action X-Cm-Analysis: v=2.4 cv=GYoRnxXL c=1 sm=1 tr=0 ts=681da26c a=CVSNBg+iDT7Smv9bvOzd2A==:117 a=dt9VzEwgFbYA:10 a=RSmzAf-M6YYA:10 a=mDV3o1hIAAAA:8 a=EaOMjToGxS9MdQ3ENR4A:9 a=QEXdDO2ut3YA:10 a=dI9p-avQWAUA:10 a=ZnyUbmHQcTEA:10 a=ox8mmV9Bo28nZL_6680A:9 a=7joMrfY9ASmLxZwp:21 X-Cm-Envelope: MS4xfEjn9jVVCC+LrCwfb8Sk3SqOnXGRlTZ7IfqdPo49OooLGWqNUHJofFvg1JnRQwBjSDxJoGyW134YiHX01qv7Jiu7p8MArTPIRlEUqdSmuY3Ow1MaSMJS h9pF3m7WGLtWsv+qQ2X2z4AGSpibRi2b37hQLTzTfWnfMzoVriiQub5iXcm7lUizyGIkPvj5P68Q1A== X-atmailcloud-route: unknown Received-SPF: pass client-ip=103.150.252.6; envelope-from=carlyle_moulton@HIDDEN; helo=omr006.pc5.atmailcloud.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Mailman-Approved-At: Fri, 09 May 2025 03:25:42 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 GNU bash, version 5.2.32(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.ht= ml > In Fedora 41. ${parameter:-offset} and ${parameter:-offset:length} return full parameter. carl@fedora:~$ a=3D12345 carl@fedora:~$ echo ${a:-2} 12345 carl@fedora:~$ echo ${a:-3:2} 12345 --79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <div>GNU bash, version 5.2.32(1)-release (x86_64-redhat-linux-gnu)<br></div= ><div>Copyright (C) 2022 Free Software Foundation, Inc.<br></div><div>Licen= se GPLv3+: GNU GPL version 3 or later <<a href=3D"http://gnu.org/license= s/gpl.html">http://gnu.org/licenses/gpl.html</a>><br></div><div><br></di= v><div>In Fedora 41.<br></div><div><br></div><div>${parameter:-offset} and = ${parameter:-offset:length} return full parameter.<br></div><div><br></div>= <div>carl@fedora:~$ a=3D12345<br></div><div>carl@fedora:~$ echo ${a:-2}<br>= </div><div>12345<br></div><div>carl@fedora:~$ echo ${a:-3:2}<br></div><div>= 12345<br></div><div><br></div><div><br></div><div><div data-atmail-signatur= e=3D"" class=3D"gmail_signature" data-smartmail=3D"gmail_signature" style= =3D"display: block !important"><br></div></div><div><br></div> --79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: carlyle_moulton@HIDDEN Subject: bug#78329: Acknowledgement (bash extraction of segment from end of string returns full string) Message-ID: <handler.78329.B.17467755506596.ack <at> debbugs.gnu.org> References: <26c738ed-eafe-46ea-8e98-295b45bd15ee@localhost> X-Gnu-PR-Message: ack 78329 X-Gnu-PR-Package: automake Reply-To: 78329 <at> debbugs.gnu.org Date: Fri, 09 May 2025 07:26:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-automake@HIDDEN If you wish to submit further information on this problem, please send it to 78329 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 78329: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78329 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#78329: bash extraction of segment from end of string returns full string References: <26c738ed-eafe-46ea-8e98-295b45bd15ee@localhost> Resent-From: Karl Berry <karl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Fri, 09 May 2025 21:50:02 +0000 Resent-Message-ID: <handler.78329.B78329.174682738923798 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78329 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: carlyle_moulton@HIDDEN Cc: 78329 <at> debbugs.gnu.org Received: via spool by 78329-submit <at> debbugs.gnu.org id=B78329.174682738923798 (code B ref 78329); Fri, 09 May 2025 21:50:02 +0000 Received: (at 78329) by debbugs.gnu.org; 9 May 2025 21:49:49 +0000 Received: from localhost ([127.0.0.1]:40743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDVbJ-0006Bm-Ht for submit <at> debbugs.gnu.org; Fri, 09 May 2025 17:49:49 -0400 Received: from frenzy.freefriends.org ([198.99.81.75]:51994 helo=freefriends.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <karl@HIDDEN>) id 1uDVbE-0006BT-4x for 78329 <at> debbugs.gnu.org; Fri, 09 May 2025 17:49:46 -0400 X-Envelope-From: karl@HIDDEN Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.16.1/8.16.1) with ESMTPS id 549Lnf7x2087337 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 9 May 2025 15:49:41 -0600 Received: (from apache@localhost) by freefriends.org (8.16.1/8.14.7/Submit) id 549LnfIE2087336; Fri, 9 May 2025 15:49:41 -0600 Date: Fri, 9 May 2025 15:49:41 -0600 Message-Id: <202505092149.549LnfIE2087336@HIDDEN> From: Karl Berry <karl@HIDDEN> In-Reply-To: <26c738ed-eafe-46ea-8e98-295b45bd15ee@localhost> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, Subject: bug#78329: bash extraction of segment from end of string returns full string Thanks for the report, but why are you sending this to bug-automake? It seems like bug-bash@HIDDEN is the right list for this one ... --best, karl.
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Karl Berry <karl@HIDDEN> Subject: bug#78329: closed (bash extraction of segment from end of string returns full string) CC: tracker <at> debbugs.gnu.org Message-ID: <handler.78329.D78329.174725995325626.ackdone <at> debbugs.gnu.org> References: <202505142159.54ELx8iD2529746@HIDDEN> <26c738ed-eafe-46ea-8e98-295b45bd15ee@localhost> X-Gnu-PR-Message: closed 78329 X-Gnu-PR-Package: automake Date: Wed, 14 May 2025 22:00:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1747260004-26068-0" This is a multi-part message in MIME format... ------------=_1747260004-26068-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Wed, 14 May 2025 15:59:08 -0600 with message-id <202505142159.54ELx8iD2529746@HIDDEN> and subject line=20 has caused the debbugs.gnu.org bug report #78329, regarding bash extraction of segment from end of string returns full string to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@HIDDEN) --=20 78329: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78329 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1747260004-26068-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 May 2025 07:25:50 +0000 Received: from localhost ([127.0.0.1]:35006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDI7A-0001iC-SV for submit <at> debbugs.gnu.org; Fri, 09 May 2025 03:25:49 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45054) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLh-0004Us-Me for submit <at> debbugs.gnu.org; Fri, 09 May 2025 02:36:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLb-0006fb-JY for bug-automake@HIDDEN; Fri, 09 May 2025 02:36:40 -0400 Received: from omr006.pc5.atmailcloud.com ([103.150.252.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLY-00072h-R5 for bug-automake@HIDDEN; Fri, 09 May 2025 02:36:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=au-east.atmailcloud.com; s=202306; h=Subject:From:Date:Mime-Version: Content-Type:Message-Id:To; bh=ne3RB1d9o0dY3Y3XIhdqmYr/CSCVqKLQmBh0DjbMrdY=; b=rV0McCt4ilQWjmQDb9i4qEawSUUdajzT7joLkU1sYsvANKq+eLAaHCJYCU5zKXzthhv2CNg/n2C kYLfbQmiOqFqbXdnC+5k+T2eBN1ZWWOurRCUuoLG8OggRXiA+0uBbxVbswuIjO4NeXlcTUucNcnAx 3OVXyQ+vMNzF3nRaD41K1ho4eBVRTeAjA7w7JH35cC13jqigV62JuFslQ37AW1iFbGikNJTzV5PTe 4tlQ3xujxu8newAWQyGqcvKc3ODrMyO9NwYuDlZt5D7DSsatl89k4gAyxhu7CXBc3PHs0p5fqyqZo mABxDdGWpmS+1F+uAIvwmS5YOJIYEwUtreQQ==; Received: from cmr.internal.pc5.atmailcloud.com (cmr.internal.pc5.atmailcloud.com [192.168.1.1]) by omr.internal.pc5.atmailcloud.com (Exim/cmr.i-0eb9d4307ef0414f9) with ESMTPS (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLQ-000000007S0-2dIr for <bug-automake@HIDDEN>; Fri, 09 May 2025 06:36:28 +0000 Received: from webmail.pc5.atmailcloud.com (webmail.pc5.atmailcloud.com [127.0.0.1]) by cmr.internal.pc5.atmailcloud.com (Exim/localhost) with ESMTPA (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLQ-000000001aB-1pJ5 for <bug-automake@HIDDEN>; Fri, 09 May 2025 06:36:28 +0000 To: <bug-automake@HIDDEN> Message-Id: <26c738ed-eafe-46ea-8e98-295b45bd15ee@localhost> Content-Type: multipart/alternative; boundary=79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43 Mime-Version: 1.0 Date: Fri, 09 May 2025 06:36:27 +0000 From: <carlyle_moulton@HIDDEN> Subject: bash extraction of segment from end of string returns full string X-Atmail-Id: carlyle_moulton@HIDDEN X-atmailcloud-spam-action: no action X-Cm-Analysis: v=2.4 cv=GYoRnxXL c=1 sm=1 tr=0 ts=681da26c a=CVSNBg+iDT7Smv9bvOzd2A==:117 a=dt9VzEwgFbYA:10 a=RSmzAf-M6YYA:10 a=mDV3o1hIAAAA:8 a=EaOMjToGxS9MdQ3ENR4A:9 a=QEXdDO2ut3YA:10 a=dI9p-avQWAUA:10 a=ZnyUbmHQcTEA:10 a=ox8mmV9Bo28nZL_6680A:9 a=7joMrfY9ASmLxZwp:21 X-Cm-Envelope: MS4xfEjn9jVVCC+LrCwfb8Sk3SqOnXGRlTZ7IfqdPo49OooLGWqNUHJofFvg1JnRQwBjSDxJoGyW134YiHX01qv7Jiu7p8MArTPIRlEUqdSmuY3Ow1MaSMJS h9pF3m7WGLtWsv+qQ2X2z4AGSpibRi2b37hQLTzTfWnfMzoVriiQub5iXcm7lUizyGIkPvj5P68Q1A== X-atmailcloud-route: unknown Received-SPF: pass client-ip=103.150.252.6; envelope-from=carlyle_moulton@HIDDEN; helo=omr006.pc5.atmailcloud.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 09 May 2025 03:25:42 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: carlyle_moulton@HIDDEN Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 GNU bash, version 5.2.32(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.ht= ml > In Fedora 41. ${parameter:-offset} and ${parameter:-offset:length} return full parameter. carl@fedora:~$ a=3D12345 carl@fedora:~$ echo ${a:-2} 12345 carl@fedora:~$ echo ${a:-3:2} 12345 --79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <div>GNU bash, version 5.2.32(1)-release (x86_64-redhat-linux-gnu)<br></div= ><div>Copyright (C) 2022 Free Software Foundation, Inc.<br></div><div>Licen= se GPLv3+: GNU GPL version 3 or later <<a href=3D"http://gnu.org/license= s/gpl.html">http://gnu.org/licenses/gpl.html</a>><br></div><div><br></di= v><div>In Fedora 41.<br></div><div><br></div><div>${parameter:-offset} and = ${parameter:-offset:length} return full parameter.<br></div><div><br></div>= <div>carl@fedora:~$ a=3D12345<br></div><div>carl@fedora:~$ echo ${a:-2}<br>= </div><div>12345<br></div><div>carl@fedora:~$ echo ${a:-3:2}<br></div><div>= 12345<br></div><div><br></div><div><br></div><div><div data-atmail-signatur= e=3D"" class=3D"gmail_signature" data-smartmail=3D"gmail_signature" style= =3D"display: block !important"><br></div></div><div><br></div> --79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43-- ------------=_1747260004-26068-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 78329-done) by debbugs.gnu.org; 14 May 2025 21:59:13 +0000 Received: from localhost ([127.0.0.1]:46852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uFK88-0006fG-Qu for submit <at> debbugs.gnu.org; Wed, 14 May 2025 17:59:13 -0400 Received: from frenzy.freefriends.org ([198.99.81.75]:52882 helo=freefriends.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <karl@HIDDEN>) id 1uFK86-0006f1-Ip for 78329-done <at> debbugs.gnu.org; Wed, 14 May 2025 17:59:11 -0400 X-Envelope-From: karl@HIDDEN X-Envelope-To: <78329-done <at> debbugs.gnu.org> Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.16.1/8.16.1) with ESMTPS id 54ELx8hc2529747 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for <78329-done <at> debbugs.gnu.org>; Wed, 14 May 2025 15:59:08 -0600 Received: (from apache@localhost) by freefriends.org (8.16.1/8.14.7/Submit) id 54ELx8iD2529746; Wed, 14 May 2025 15:59:08 -0600 Date: Wed, 14 May 2025 15:59:08 -0600 Message-Id: <202505142159.54ELx8iD2529746@HIDDEN> From: Karl Berry <karl@HIDDEN> To: 78329-done <at> debbugs.gnu.org Subject: X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [198.99.81.75 listed in bl.score.senderscore.com] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [198.99.81.75 listed in sa-trusted.bondedsender.org] -0.0 SPF_PASS SPF: sender matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [198.99.81.75 listed in list.dnswl.org] 2.3 EMPTY_MESSAGE Message appears to have no textual parts 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: 78329-done X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) ------------=_1747260004-26068-0--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: carlyle_moulton@HIDDEN Subject: bug#78329: closed () Message-ID: <handler.78329.D78329.174725995325626.notifdone <at> debbugs.gnu.org> References: <202505142159.54ELx8iD2529746@HIDDEN> <26c738ed-eafe-46ea-8e98-295b45bd15ee@localhost> X-Gnu-PR-Message: they-closed 78329 X-Gnu-PR-Package: automake Reply-To: 78329 <at> debbugs.gnu.org Date: Wed, 14 May 2025 22:00:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1747260004-26068-1" This is a multi-part message in MIME format... ------------=_1747260004-26068-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #78329: bash extraction of segment from end of string returns full string which was filed against the automake package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 78329 <at> debbugs.gnu.org. --=20 78329: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78329 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1747260004-26068-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 78329-done) by debbugs.gnu.org; 14 May 2025 21:59:13 +0000 Received: from localhost ([127.0.0.1]:46852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uFK88-0006fG-Qu for submit <at> debbugs.gnu.org; Wed, 14 May 2025 17:59:13 -0400 Received: from frenzy.freefriends.org ([198.99.81.75]:52882 helo=freefriends.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <karl@HIDDEN>) id 1uFK86-0006f1-Ip for 78329-done <at> debbugs.gnu.org; Wed, 14 May 2025 17:59:11 -0400 X-Envelope-From: karl@HIDDEN X-Envelope-To: <78329-done <at> debbugs.gnu.org> Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.16.1/8.16.1) with ESMTPS id 54ELx8hc2529747 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for <78329-done <at> debbugs.gnu.org>; Wed, 14 May 2025 15:59:08 -0600 Received: (from apache@localhost) by freefriends.org (8.16.1/8.14.7/Submit) id 54ELx8iD2529746; Wed, 14 May 2025 15:59:08 -0600 Date: Wed, 14 May 2025 15:59:08 -0600 Message-Id: <202505142159.54ELx8iD2529746@HIDDEN> From: Karl Berry <karl@HIDDEN> To: 78329-done <at> debbugs.gnu.org Subject: X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [198.99.81.75 listed in bl.score.senderscore.com] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [198.99.81.75 listed in sa-trusted.bondedsender.org] -0.0 SPF_PASS SPF: sender matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [198.99.81.75 listed in list.dnswl.org] 2.3 EMPTY_MESSAGE Message appears to have no textual parts 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: 78329-done X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) ------------=_1747260004-26068-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 May 2025 07:25:50 +0000 Received: from localhost ([127.0.0.1]:35006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDI7A-0001iC-SV for submit <at> debbugs.gnu.org; Fri, 09 May 2025 03:25:49 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45054) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLh-0004Us-Me for submit <at> debbugs.gnu.org; Fri, 09 May 2025 02:36:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLb-0006fb-JY for bug-automake@HIDDEN; Fri, 09 May 2025 02:36:40 -0400 Received: from omr006.pc5.atmailcloud.com ([103.150.252.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLY-00072h-R5 for bug-automake@HIDDEN; Fri, 09 May 2025 02:36:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=au-east.atmailcloud.com; s=202306; h=Subject:From:Date:Mime-Version: Content-Type:Message-Id:To; bh=ne3RB1d9o0dY3Y3XIhdqmYr/CSCVqKLQmBh0DjbMrdY=; b=rV0McCt4ilQWjmQDb9i4qEawSUUdajzT7joLkU1sYsvANKq+eLAaHCJYCU5zKXzthhv2CNg/n2C kYLfbQmiOqFqbXdnC+5k+T2eBN1ZWWOurRCUuoLG8OggRXiA+0uBbxVbswuIjO4NeXlcTUucNcnAx 3OVXyQ+vMNzF3nRaD41K1ho4eBVRTeAjA7w7JH35cC13jqigV62JuFslQ37AW1iFbGikNJTzV5PTe 4tlQ3xujxu8newAWQyGqcvKc3ODrMyO9NwYuDlZt5D7DSsatl89k4gAyxhu7CXBc3PHs0p5fqyqZo mABxDdGWpmS+1F+uAIvwmS5YOJIYEwUtreQQ==; Received: from cmr.internal.pc5.atmailcloud.com (cmr.internal.pc5.atmailcloud.com [192.168.1.1]) by omr.internal.pc5.atmailcloud.com (Exim/cmr.i-0eb9d4307ef0414f9) with ESMTPS (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLQ-000000007S0-2dIr for <bug-automake@HIDDEN>; Fri, 09 May 2025 06:36:28 +0000 Received: from webmail.pc5.atmailcloud.com (webmail.pc5.atmailcloud.com [127.0.0.1]) by cmr.internal.pc5.atmailcloud.com (Exim/localhost) with ESMTPA (envelope-from <carlyle_moulton@HIDDEN>) id 1uDHLQ-000000001aB-1pJ5 for <bug-automake@HIDDEN>; Fri, 09 May 2025 06:36:28 +0000 To: <bug-automake@HIDDEN> Message-Id: <26c738ed-eafe-46ea-8e98-295b45bd15ee@localhost> Content-Type: multipart/alternative; boundary=79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43 Mime-Version: 1.0 Date: Fri, 09 May 2025 06:36:27 +0000 From: <carlyle_moulton@HIDDEN> Subject: bash extraction of segment from end of string returns full string X-Atmail-Id: carlyle_moulton@HIDDEN X-atmailcloud-spam-action: no action X-Cm-Analysis: v=2.4 cv=GYoRnxXL c=1 sm=1 tr=0 ts=681da26c a=CVSNBg+iDT7Smv9bvOzd2A==:117 a=dt9VzEwgFbYA:10 a=RSmzAf-M6YYA:10 a=mDV3o1hIAAAA:8 a=EaOMjToGxS9MdQ3ENR4A:9 a=QEXdDO2ut3YA:10 a=dI9p-avQWAUA:10 a=ZnyUbmHQcTEA:10 a=ox8mmV9Bo28nZL_6680A:9 a=7joMrfY9ASmLxZwp:21 X-Cm-Envelope: MS4xfEjn9jVVCC+LrCwfb8Sk3SqOnXGRlTZ7IfqdPo49OooLGWqNUHJofFvg1JnRQwBjSDxJoGyW134YiHX01qv7Jiu7p8MArTPIRlEUqdSmuY3Ow1MaSMJS h9pF3m7WGLtWsv+qQ2X2z4AGSpibRi2b37hQLTzTfWnfMzoVriiQub5iXcm7lUizyGIkPvj5P68Q1A== X-atmailcloud-route: unknown Received-SPF: pass client-ip=103.150.252.6; envelope-from=carlyle_moulton@HIDDEN; helo=omr006.pc5.atmailcloud.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 09 May 2025 03:25:42 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: carlyle_moulton@HIDDEN Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 GNU bash, version 5.2.32(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.ht= ml > In Fedora 41. ${parameter:-offset} and ${parameter:-offset:length} return full parameter. carl@fedora:~$ a=3D12345 carl@fedora:~$ echo ${a:-2} 12345 carl@fedora:~$ echo ${a:-3:2} 12345 --79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <div>GNU bash, version 5.2.32(1)-release (x86_64-redhat-linux-gnu)<br></div= ><div>Copyright (C) 2022 Free Software Foundation, Inc.<br></div><div>Licen= se GPLv3+: GNU GPL version 3 or later <<a href=3D"http://gnu.org/license= s/gpl.html">http://gnu.org/licenses/gpl.html</a>><br></div><div><br></di= v><div>In Fedora 41.<br></div><div><br></div><div>${parameter:-offset} and = ${parameter:-offset:length} return full parameter.<br></div><div><br></div>= <div>carl@fedora:~$ a=3D12345<br></div><div>carl@fedora:~$ echo ${a:-2}<br>= </div><div>12345<br></div><div>carl@fedora:~$ echo ${a:-3:2}<br></div><div>= 12345<br></div><div><br></div><div><br></div><div><div data-atmail-signatur= e=3D"" class=3D"gmail_signature" data-smartmail=3D"gmail_signature" style= =3D"display: block !important"><br></div></div><div><br></div> --79ba0f7e67ffbda1a38aa328f44bf98ebbfcc6b40702bb78c2f965a5fc43-- ------------=_1747260004-26068-1--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.