Date: Tue, 7 Oct 2025 02:54:02 +0700 From: cyric@mm.st To: Maxim Konovalov <maxim@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 2ed9abe1d873 - main - snl.3: escape \n propertly Message-ID: <7505e59d-7c89-466f-a773-08443b3bee79@mm.st> In-Reply-To: <202510021817.592IHYaU082357@gitrepo.freebsd.org> References: <202510021817.592IHYaU082357@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Maxim Konovalov wrote: > The branch main has been updated by maxim: > > URL: https://cgit.FreeBSD.org/src/commit/?id=2ed9abe1d873465d375b47ece0a379e1dbd99719 > > commit 2ed9abe1d873465d375b47ece0a379e1dbd99719 > Author: Maxim Konovalov <maxim@FreeBSD.org> > AuthorDate: 2025-10-02 18:15:16 +0000 > Commit: Maxim Konovalov <maxim@FreeBSD.org> > CommitDate: 2025-10-02 18:15:16 +0000 > > snl.3: escape \n propertly > > Reported by: Bruno Silvestre > --- > share/man/man3/snl.3 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/share/man/man3/snl.3 b/share/man/man3/snl.3 > index 9a6eceb66a32..f678d6cb2cea 100644 > --- a/share/man/man3/snl.3 > +++ b/share/man/man3/snl.3 > @@ -288,7 +288,7 @@ main(int ac, char *argv[]) > struct nl_parsed_link link = {}; > if (!snl_parse_nlmsg(&ss, hdr, &link_parser, &link)) > continue; > - printf("Link#%u %s mtu %u\n", link.ifi_index, link.ifla_ifname, link.ifla_mtu); > + printf("Link#%u %s mtu %u\\n", link.ifi_index, link.ifla_ifname, link.ifla_mtu); > } > > return (0); Just for the record, the proper sequence for literal backslash would be \e, see mandoc_char(7).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7505e59d-7c89-466f-a773-08443b3bee79>