Re: Bug: please document extended and alternate for loop syntax
From:
John Wiersba
Subject:
Re: Bug: please document extended and alternate for loop syntax
Date:
Mon, 10 Mar 2025 16:49:33 +0000 (UTC)
On Monday, March 10, 2025 at 12:38:38 PM EDT, Zachary Santer
<zsanter@gmail.com> wrote:
> Another alternative would be for bash to print a warning whenever it
> encounters this syntax.
There are precedents for this kind of behavior in languages like perl which
issue warnings
for deprecated features for several release cycles before actually removing the
features.That assumes this alternative syntax is deprecated. They also
document deprecatedfeatures. And they have a way of turning off deprecation
warnings for specific features.