Re: SIGSEGV in GNU bash, version 5.1.4(1)-release (sparc-sun-solaris2.10)

2021-01-04 Thread Chet Ramey
On 1/4/21 12:07 PM, Vladimir Marek wrote: Hi, As a Solaris bash maintainer this interests me very much. I haven't yet tried to upgrade bash to 5.1.x as there is no immediate need, sorry :) You might take a look at the changelog. I'll try to test the new bash on latest Solaris (11.4). What di

Re: SIGSEGV in GNU bash, version 5.1.4(1)-release (sparc-sun-solaris2.10)

2021-01-04 Thread Vladimir Marek
Hi, As a Solaris bash maintainer this interests me very much. I haven't yet tried to upgrade bash to 5.1.x as there is no immediate need, sorry :) I'll try to test the new bash on latest Solaris (11.4). What did you do to observe the issue? Just execute the binary? The two most common problems I

Re: New Feature Request

2021-01-04 Thread Greg Wooledge
On Mon, Jan 04, 2021 at 10:44:40AM -0500, Saint Michael wrote: > can you point me to your FAQ? https://mywiki.wooledge.org/BashFAQ/045

Re: New Feature Request

2021-01-04 Thread Saint Michael
can you point me to your FAQ? On Mon, Jan 4, 2021 at 8:39 AM Greg Wooledge wrote: > On Mon, Jan 04, 2021 at 08:26:59AM -0500, Saint Michael wrote: > > In this case, how do I quickly increase the number stored in "foo"? > > the file has 1 as content, and I have a new value to add to it > quic

Re: New Feature Request

2021-01-04 Thread Léa Gris
Le 04/01/2021 à 14:14, Greg Wooledge écrivait : It should be noted that $( var=$(ending the last line because it exactly a sub-shell shot syntax for var=$(cat file). Sub-shell $(commands list) output is always trimmed. -- Léa Gris

Re: New Feature Request

2021-01-04 Thread Greg Wooledge
On Mon, Jan 04, 2021 at 08:26:59AM -0500, Saint Michael wrote: > In this case, how do I quickly increase the number stored in "foo"? > the file has 1 as content, and I have a new value to add to it quickly. > Is there an atomic way to read,add, write a value to "foo"? Nope! It's almost like b

Re: New Feature Request

2021-01-04 Thread Saint Michael
In this case, how do I quickly increase the number stored in "foo"? the file has 1 as content, and I have a new value to add to it quickly. Is there an atomic way to read,add, write a value to "foo"? On Mon, Jan 4, 2021 at 8:15 AM Greg Wooledge wrote: > On Fri, Jan 01, 2021 at 10:02:26PM +0

Re: New Feature Request

2021-01-04 Thread Greg Wooledge
On Fri, Jan 01, 2021 at 10:02:26PM +0100, Ángel wrote: > Yes. In fact, you can already do that using an interface exactly > identical to file operations: > > # Store a string in shared memory with key 'foo' > echo "Hello world" > foo > > # Read value of key foo > var="$( > > You only need to us