yea suxx ill recode the bashlink somewhen and see then
On Thu, Dec 2, 2021, 17:56 Greg Wooledge <g...@wooledge.org> wrote: > On Thu, Dec 02, 2021 at 05:44:14PM +0100, Alex fxmbsw7 Ratchev wrote: > > well no idea > > > > printf 'e=. ; (( $# > 1 )) && $e afile "${@:1:$# -1}"' >afile ; set -x ; > . > > afile 1 2 3 4 ; set +x > > + . afile 1 2 3 4 > > ++ e=. > > ++ (( 4 > 1 )) > > ++ '' afile 1 2 3 > > bash: : command not found > > + set +x > > I can't reproduce this in bash 5.1. > > unicorn:/tmp/x$ printf 'e=. ; (( $# > 1 )) && $e afile "${@:1:$# -1}"' > >afile > unicorn:/tmp/x$ set -x > unicorn:/tmp/x$ . afile 1 2 3 4 > + . afile 1 2 3 4 > ++ e=. > ++ (( 4 > 1 )) > ++ . afile 1 2 3 > +++ e=. > +++ (( 3 > 1 )) > +++ . afile 1 2 > ++++ e=. > ++++ (( 2 > 1 )) > ++++ . afile 1 > +++++ e=. > +++++ (( 1 > 1 )) > unicorn:/tmp/x$ echo "$BASH_VERSION" > + echo '5.1.4(1)-release' > 5.1.4(1)-release > >