On Fri, 21 Jul 2023, 04:09 Greg Wooledge, <g...@wooledge.org> wrote: > On Fri, Jul 21, 2023 at 12:33:07AM +1000, Martin D Kealey wrote: > > Saying that this *ought* to be done using aliases is not reasonable, as > it > > means forgoing the other stuff that functions can do, like taking > > parameters, declaring local variables, or returning a status. > > Well in any case, the behavior you wanted is not reliable […] even across > versions of bash. >
Well sure, it's not reliable NOW but it worked for 20+ years before the change in 4.4. Since I now need to use a work around for versions 4.4 through 5.2 there's little point in pushing for reinstatement, and that's not really my point. Rather, I'm making the point that features I (and likely others) depend on seem to keep getting arbitrarily broken. This is an appeal to anyone looking at the next bug report and thinking "this behaviour is obviously unneeded": before you make a PR to kill it, please dream more about potential uses and users. -Martin >