Subject: bug#78329: closed ()

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 14 May 2025 22:00:04 +0000

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 [email-masked].

-- 
78329: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78329
GNU Bug Tracking System
Contact [email-masked] with problems

From: Karl Berry <[email-masked]>
To: [email-masked]
Date: Wed, 14 May 2025 15:59:08 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

Subject: bash extraction of segment from end of string returns full string
From: <[email-masked]>
To: <[email-masked]>
Date: Fri, 09 May 2025 06:36:27 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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@fedora:~$ a=12345

carl@fedora:~$ echo ${a:-2}

12345

carl@fedora:~$ echo ${a:-3:2}

12345