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>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_9AF78CF0-6B76-4B17-AEBB-562F49C176B4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On May 22, 2023, at 8:18 PM, Jamie Landeg-Jones <jamie@catflap.org> = wrote: >=20 > I've just finally updated to 13-stable, and can't be the first to = notice this?! >=20 > /etc/rc.d/motd contains the line: >=20 > uname -v | sed -e 's,^\([^#]*\) #\(.* = [1-2][0-9][0-9][0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' >=20 > 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: >=20 > = https://cgit.freebsd.org/src/commit/usr.bin/uname/uname.c?id=3D7e05fa3b449= 007adaa6e588ebb3b8d76f30b355c >=20 > Since then, the sed doesn't match, so the uname(1) output is = unchanged. >=20 > 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 =E2=80=94 could you please file a PR and = reference it in a reply? Thanks! -Enji --Apple-Mail=_9AF78CF0-6B76-4B17-AEBB-562F49C176B4 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----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----- --Apple-Mail=_9AF78CF0-6B76-4B17-AEBB-562F49C176B4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1FA0E3FF-9DF6-46BA-81C1-4DCE5542CAD5>