[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[minor] Space after last element on assoc print
From: |
Quentin L'Hours |
Subject: |
[minor] Space after last element on assoc print |
Date: |
Thu, 20 Oct 2016 06:47:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
Hi,
Bash Version: 4.4
Release Status: release
Description:
Useless space after last item of a declare -p on an assoc array (indexed
arrays don't print it, and neither does ksh typeset on assoc arrays).
It doesn't seem to have any consequence though.
Repeat-By:
$ declare -A capital[fr]=Paris
$ declare -p capital
declare -A capital=([fr]="Paris" )
Fix:
Maybe just rlen-- just after looping on all elements in assoc.c
--
Quentin L'Hours
- [minor] Space after last element on assoc print,
Quentin L'Hours <=