GNU bug report logs - #78329
bash extraction of segment from end of string returns full string

Previous Next

Package: automake;

Reported by: carlyle_moulton <at> optusnet.com.au

Date: Fri, 9 May 2025 07:26:03 UTC

Severity: normal

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 78329 in the body.
You can then email your comments to 78329 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#78329; Package automake. (Fri, 09 May 2025 07:26:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to carlyle_moulton <at> optusnet.com.au:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Fri, 09 May 2025 07:26:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: <carlyle_moulton <at> optusnet.com.au>
To: <bug-automake <at> gnu.org>
Subject: bash extraction of segment from end of string returns full string
Date: Fri, 09 May 2025 06:36:27 +0000
[Message part 1 (text/plain, inline)]
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.html >

In Fedora 41.

${parameter:-offset} and ${parameter:-offset:length} return full parameter.

carl <at> fedora:~$ a=12345

carl <at> fedora:~$ echo ${a:-2}

12345

carl <at> fedora:~$ echo ${a:-3:2}

12345
[Message part 2 (text/html, inline)]

Information forwarded to bug-automake <at> gnu.org:
bug#78329; Package automake. (Fri, 09 May 2025 21:50:02 GMT) Full text and rfc822 format available.

Message #8 received at 78329 <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: carlyle_moulton <at> optusnet.com.au
Cc: 78329 <at> debbugs.gnu.org
Subject: Re: bug#78329: bash extraction of segment from end of string returns
 full string
Date: Fri, 9 May 2025 15:49:41 -0600
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 <at> gnu.org is the right list for this one ... --best, karl.




Reply sent to Karl Berry <karl <at> freefriends.org>:
You have taken responsibility. (Wed, 14 May 2025 22:00:04 GMT) Full text and rfc822 format available.

Notification sent to carlyle_moulton <at> optusnet.com.au:
bug acknowledged by developer. (Wed, 14 May 2025 22:00:04 GMT) Full text and rfc822 format available.

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

From: Karl Berry <karl <at> freefriends.org>
To: 78329-done <at> debbugs.gnu.org
Date: Wed, 14 May 2025 15:59:08 -0600



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 12 Jun 2025 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 4 days ago.

Previous Next


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