Re: Fwd: Strange results

2023-10-27 Thread Victor Pasko
See my comments below inline On Fri, Oct 27, 2023 at 2:50 AM Kerin Millar wrote: > On Fri, 27 Oct 2023 02:00:01 +0700 > Victor Pasko wrote: > > > -- Forwarded message - > > From: Victor Pasko > > Date: Fri, Oct 27, 2023 at 1:57 AM > > Subject: Re: Strange results > > To: Dennis

Re: the test shell script never returns to shell

2023-10-27 Thread Chet Ramey
On 10/26/23 10:10 PM, wenlin wrote: Hi  Chet Thanks for your response,  can you or someone provide the fix patch, thanks. It will be in the next devel branch push. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ra

Re: Fwd: Strange results

2023-10-27 Thread Kerin Millar
On Fri, 27 Oct 2023 19:28:15 +0700 Victor Pasko wrote: > See my comments below inline > > On Fri, Oct 27, 2023 at 2:50 AM Kerin Millar wrote: > > > On Fri, 27 Oct 2023 02:00:01 +0700 > > Victor Pasko wrote: > > > > > -- Forwarded message - > > > From: Victor Pasko > > > Date:

Re: Fwd: Strange results

2023-10-27 Thread Kerin Millar
On Fri, 27 Oct 2023 15:34:16 +0100 Kerin Millar wrote: > Keep in mind that the Shell Command Language specification requires that > "Default Value" parameter expansion be implemented in the way that it is, and > that there are countless scripts that depend on the status quo. However, the > S

Re: the test shell script never returns to shell

2023-10-27 Thread Kang Wenlin
On 10/27/2023 20:57, Chet Ramey wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On 10/26/23 10:10 PM, wenlin wrote: Hi  Chet Thanks for your response,  can you or som

Re: Fwd: Strange results

2023-10-27 Thread Kerin Millar
On Fri, 27 Oct 2023 19:28:15 +0700 Victor Pasko wrote: > Let me ask more questions presented in the sent bug2.bash > Look at the following lines: > > *printf -v a_int '%d' "'a" *# very strange syntax here to use char as > integer > echo "echo4 $a_int" # should be 97 at the end All impleme

Re: Regex: A case where the longest match isn't being found

2023-10-27 Thread Chet Ramey
On 10/27/23 1:04 AM, Lawrence Velázquez wrote: On Fri, Oct 27, 2023, at 12:25 AM, Grisha Levit wrote: On Thu, Oct 26, 2023, 20:30 Dale R. Worley wrote: I suspect the difference between the versions is how the regexp is unquoted while it is being read, with version 3 interpreting [^\'] as "cha

Re: anomalies during "make test"

2023-10-27 Thread Chet Ramey
On 10/26/23 10:50 PM, mar...@kurahaupo.gen.nz wrote: uname output: Linux treehug.home.kurahaupo.gen.nz 5.15.0-73-generic #80-Ubuntu SMP Mon May 15 15:18:26 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu I don't have this exact copy of Ubuntu handy, but I just ran th