sed(1) / BRE bug?

2020-10-11 Thread tlaronde
Hello, I have been surprised by the following (I made what I consider a mistake in a RE with sed(1) but it went unnoticed under NetBSD since it succeeded when, I think, it should not): $ echo '$(VAR)' | sed 's/^$(\([^)][^)]*\))$/\1/' VAR The problem? the leading '$' is not escaped (I was trying

ukbd incorrect fr keymap

2020-10-11 Thread tlaronde
My keyboard is attached via usb and I set wscons with the 'fr' encoding. Specifically, the asterisk and mu are not available (giving backslash and pipe instead) while in ukbd_keydesc_fr they are mapped to position 50 (and backslash and pipe are not mapped in the fr patch while they are not at the

Re: ukbd incorrect fr keymap

2020-10-11 Thread Michael van Elst
tlaro...@polynum.com writes: >My keyboard is attached via usb and I set wscons with the 'fr' encoding. >Specifically, the asterisk and mu are not available (giving backslash >and pipe instead) while in ukbd_keydesc_fr they are mapped to position >50 (and backslash and pipe are not mapped in the f

Re: ukbd incorrect fr keymap

2020-10-11 Thread tlaronde
Hello, On Sun, Oct 11, 2020 at 01:48:34PM +, Michael van Elst wrote: > tlaro...@polynum.com writes: > > >My keyboard is attached via usb and I set wscons with the 'fr' encoding. > > >Specifically, the asterisk and mu are not available (giving backslash > >and pipe instead) while in ukbd_keyd

Re: sed(1) / BRE bug?

2020-10-11 Thread Robert Elz
Date:Sun, 11 Oct 2020 11:45:12 +0200 From:tlaro...@polynum.com Message-ID: <20201011094512.ga...@polynum.com> | The problem? the leading '$' is not escaped (I was trying to get the var | name from a Makefile)... | | Is this a bug or is this behavior undefined

Re: sed(1) / BRE bug?

2020-10-11 Thread tlaronde
Hello Robert, On Mon, Oct 12, 2020 at 12:06:57AM +0700, Robert Elz wrote: > Date:Sun, 11 Oct 2020 11:45:12 +0200 > From:tlaro...@polynum.com > Message-ID: <20201011094512.ga...@polynum.com> > > > | The problem? the leading '$' is not escaped (I was trying to get th