Re: MOTD is not created correctly (since 2022/02/18)

From: Enji Cooper <yaneurabeya_at_gmail.com>
Date: Tue, 23 May 2023 06:06:08 UTC
> On May 22, 2023, at 8:18 PM, Jamie Landeg-Jones <jamie@catflap.org> wrote:
> 
> I've just finally updated to 13-stable, and can't be the first to notice this?!
> 
> /etc/rc.d/motd contains the line:
> 
> uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\) $,\1 (\3) #\2,'
> 
> Note the space before the "$" - needed because the uname -v output used
> to have a trailing space. This was fixed and comitted on 2022/02/18:
> 
> https://cgit.freebsd.org/src/commit/usr.bin/uname/uname.c?id=7e05fa3b449007adaa6e588ebb3b8d76f30b355c
> 
> Since then, the sed doesn't match, so the uname(1) output is unchanged.
> 
> There's no point altering the sed to work with both posibilities, so can
> someone commit the fix of removing the ' ' before the '$' in /etc/rc.d/motd ?

Hi Jamie,
	Thank you for the note — could you please file a PR and reference it in a reply?
Thanks!
-Enji