|
From: | Alexey |
Subject: | Re: for loop over parameter expansion of array can miss resulted empty list |
Date: | Mon, 21 Mar 2022 16:50:10 +0400 |
User-agent: | Mail UserAgent |
x=("/"); y=("${x[@]%/}"); echo "x size: ${#x[@]}, y size: ${#y[@]}" Goal of this example show that it is not only for loop issue.
[Prev in Thread] | Current Thread | [Next in Thread] |