Date: Mon, 22 May 2023 23:06:08 -0700 From: Enji Cooper <yaneurabeya@gmail.com> To: Jamie Landeg-Jones <jamie@catflap.org> Cc: freebsd-current@freebsd.org Subject: Re: MOTD is not created correctly (since 2022/02/18) Message-ID: <1FA0E3FF-9DF6-46BA-81C1-4DCE5542CAD5@gmail.com> In-Reply-To: <202305230318.34N3IOaX056503@donotpassgo.dyslexicfish.net> References: <202305230318.34N3IOaX056503@donotpassgo.dyslexicfish.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] > 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEtvtxN6kOllEF3nmX5JFNMZeDGN4FAmRsV9AACgkQ5JFNMZeD GN7PshAAjWKj1sYPmTM3BkILKRihqAgR+ElpBkBL8ElkIOnS8vea8KchdocSd6DN wjouseX6oM4uiiccFurL0WkB98IaZp/Yl6wNVuHMMO5/KbrKbhqWgEtsCvsykvqC gAqcWEidlwKcEng65/9ef+n59hVzS5tT+fRuMLfJzkAEuIHTR4cWVi8/HnODxB8z XkETMWOlTCiLk12DaY2JRCUG/2M3D1ww2LsVQQepJt0cqwNRegfY2xB7Zag6+JU4 RGaIrmjU4JfJlcxBUK/jvpsEQgiKWsYVZnJTixERONTF5W/pZ+ljYcwJ4jUF+P25 xG+8Zm4r3z25wJN7UxMAJeG31IPUU8N9s4to/e5D9DaNH8aG3TChYLTu7OuH3mfi eqUHaoxB0tZVFtg0NpuJ2veC4HRPU17TEIlJEWkjIQ2TG54unENypFSE50+dekbL t5UObylbjOEaXyP8Ia71x3KFuOmCfAjFlM2/RgAcA78Ba8kQOljvsDMZeMXoBTCk /BbJEUwT1rkKBkUahMYYwRtgohN7JU1FGp1qE35mCJh/rpudAE6V792sf0FPsxQB lP8NSTxfod3ogo/URxvZztB7EyBkeODtdKWYf893Wn/oOhtY2I9m/nbHeHQcrpIP Ge66H9IAE+0F5yCTjp4B0Eub/Mzi1hZYxSKrQgbIhrPIEgWf4cM= =QmZa -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1FA0E3FF-9DF6-46BA-81C1-4DCE5542CAD5>
