Re: Corrupted multibyte characters in command substitutions fixes may be worse than problem.

2022-02-05 Thread L A Walsh
On 2022/01/02 17:43, Frank Heckenbach wrote: Chet Ramey wrote: After all, we're talking about silent data corruption, and now I learn the bug is known for almost a year, the fix is known and still hasn't been released, not even as an official patch. If you use the number of bug repor

Re: i had a read not work..

2022-02-05 Thread Alex fxmbsw7 Ratchev
no i couldnt reproduce it when my script after long time a bit began working i tried \\n and it worked im sorry there was also when IFS=$'\1' issue i couldnt fix but that may also be code error of my fault =)) peace On Sun, Feb 6, 2022 at 2:16 AM Alex fxmbsw7 Ratchev wrote: > > well, im current

Re: i had a read not work..

2022-02-05 Thread Alex fxmbsw7 Ratchev
well, im currently coding it as one file ( it results in same code as before ) then i can change the \0 to \n and see if it appears again then i can post thank you much On Sun, Feb 6, 2022 at 2:07 AM Greg Wooledge wrote: > > On Sun, Feb 06, 2022 at 01:43:57AM +0100, Alex fxmbsw7 Ratchev wrote: >

Re: i had a read not work..

2022-02-05 Thread Greg Wooledge
On Sun, Feb 06, 2022 at 01:43:57AM +0100, Alex fxmbsw7 Ratchev wrote: > this is on a friends os x, where brew install bash and gawk, resulted > in good versions > > i tried > > gawk ' print ; fflush' > > with a read -r varname, also read -r -d $'\n' varname > > it never_ returned result

i had a read not work..

2022-02-05 Thread Alex fxmbsw7 Ratchev
this is on a friends os x, where brew install bash and gawk, resulted in good versions i tried gawk ' print ; fflush' with a read -r varname, also read -r -d $'\n' varname it never_ returned results -d '' worked fine

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Alex fxmbsw7 Ratchev
yea sorry i accept it doesnt work .. On Sat, Feb 5, 2022, 22:31 Chet Ramey wrote: > On 2/5/22 3:54 PM, Alex fxmbsw7 Ratchev wrote: > > it would make the whole work at alias level > > alias (symbolic) 1=$(( 2=1+2 3=+ 4=1+2 5=)) > > 1 2 3 4 5 > > works > > [i wish] > > We need an intervention here

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Chet Ramey
On 2/5/22 3:54 PM, Alex fxmbsw7 Ratchev wrote: it would make the whole work at alias level alias (symbolic) 1=$(( 2=1+2 3=+ 4=1+2 5=)) 1 2 3 4 5 works [i wish] We need an intervention here. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Lawrence Velázquez
> On Sat, Feb 5, 2022 at 9:46 PM Chet Ramey wrote: >> >> On 2/5/22 3:44 PM, Alex fxmbsw7 Ratchev wrote: >> > maybe ask about an shopt feature to enable straight alias expansion >> > when the aliases are following .. >> >> How would that, whatever it is, help you here? I think he wants an option t

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Alex fxmbsw7 Ratchev
meant in more reasonable complicated codes they are more useufl On Sat, Feb 5, 2022 at 9:54 PM Alex fxmbsw7 Ratchev wrote: > > it would make the whole work at alias level > alias (symbolic) 1=$(( 2=1+2 3=+ 4=1+2 5=)) > 1 2 3 4 5 > works > [i wish] > > On Sat, Feb 5, 2022 at 9:46 PM Chet Ramey wr

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Alex fxmbsw7 Ratchev
it would make the whole work at alias level alias (symbolic) 1=$(( 2=1+2 3=+ 4=1+2 5=)) 1 2 3 4 5 works [i wish] On Sat, Feb 5, 2022 at 9:46 PM Chet Ramey wrote: > > On 2/5/22 3:44 PM, Alex fxmbsw7 Ratchev wrote: > > On Sat, Feb 5, 2022 at 9:39 PM Alex fxmbsw7 Ratchev > > wrote: > >> > >> On Sa

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Chet Ramey
On 2/5/22 3:44 PM, Alex fxmbsw7 Ratchev wrote: On Sat, Feb 5, 2022 at 9:39 PM Alex fxmbsw7 Ratchev wrote: On Sat, Feb 5, 2022 at 7:55 PM Chet Ramey wrote: On 2/4/22 6:17 PM, Alex fxmbsw7 Ratchev wrote: what about this viewing point aliases can start, $(('s, but not end... this is unlogic

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Alex fxmbsw7 Ratchev
On Sat, Feb 5, 2022 at 9:39 PM Alex fxmbsw7 Ratchev wrote: > > On Sat, Feb 5, 2022 at 7:55 PM Chet Ramey wrote: > > > > On 2/4/22 6:17 PM, Alex fxmbsw7 Ratchev wrote: > > > what about this viewing point > > > aliases can start, $(('s, but not end... this is unlogic > > > > Well, I don't know abou

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Alex fxmbsw7 Ratchev
On Sat, Feb 5, 2022 at 7:55 PM Chet Ramey wrote: > > On 2/4/22 6:17 PM, Alex fxmbsw7 Ratchev wrote: > > what about this viewing point > > aliases can start, $(('s, but not end... this is unlogic > > Well, I don't know about `unlogic' but there's an understanding deficit, > for sure. > > > > > alia

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Chet Ramey
On 2/4/22 6:21 PM, Alex fxmbsw7 Ratchev wrote: it seems me here the data was used as var inside $(( not as alias That, at least, is right. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRUc...@ca

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Chet Ramey
On 2/4/22 6:17 PM, Alex fxmbsw7 Ratchev wrote: what about this viewing point aliases can start, $(('s, but not end... this is unlogic Well, I don't know about `unlogic' but there's an understanding deficit, for sure. alias -- \ p='printf %s\\n ' \ assign='assign=$(( ' begin='$(( ' \ for dat

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Chet Ramey
On 2/4/22 4:59 PM, Alex fxmbsw7 Ratchev wrote: On Fri, Feb 4, 2022 at 10:18 PM Robert Elz wrote: Date:Fri, 4 Feb 2022 21:06:11 +0100 From:Alex fxmbsw7 Ratchev Message-ID: | now changing this to dynamic eof marker There is no such thing. Unlikely (*VER

Re: Incorrect alias expansion within command substitution

2022-02-05 Thread Chet Ramey
On 2/4/22 3:06 PM, Alex fxmbsw7 Ratchev wrote: it was my mind shell does it mean it wont ever get to be the regex /<<([^ \t\f\v\r\n;]+) that is, after << is parsed a read word till next space, no shell expansion logic of separated functional structures in the topic of flat data is overruling,

Re: Cursor jumps to leftmost column on trap ... SIGALRM

2022-02-05 Thread Chet Ramey
On 2/4/22 6:01 PM, Markus Schwarzenberg wrote: I'd be happy with some command forcing redisplay, executed from within the handler as a workaround. On a new line? Duplicating what was there before the SIGALRM? I think you'd be surprised at how many people would disagree with you. Didn't mean

Errors in man pages of bash

2022-02-05 Thread Helge Kreutzmann
Dear bash maintainer, the manpage-l10n project maintains a large number of translations of man pages both from a large variety of sources (including PACKAGE) as well for a large variety of target languages. During their work translators notice different possible issues in the original (english) ma