Re: git: 2ed9abe1d873 - main - snl.3: escape \n propertly
- In reply to: Maxim Konovalov : "git: 2ed9abe1d873 - main - snl.3: escape \n propertly"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Oct 2025 19:54:02 UTC
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).