From 9fccdb0f64d12bc09a71442dd0af2248c1aa3e89 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 14 Feb 2014 15:56:19 +0100 Subject: man: always place and in a line with actual sources, so that we don't get spurious newlines in the man page output --- man/nss-myhostname.xml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'man/nss-myhostname.xml') diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml index efbadac33..cca3a99aa 100644 --- a/man/nss-myhostname.xml +++ b/man/nss-myhostname.xml @@ -86,8 +86,7 @@ Example - -# /etc/nsswitch.conf +# /etc/nsswitch.conf passwd: compat group: compat @@ -101,20 +100,17 @@ services: db files ethers: db files rpc: db files -netgroup: nis - +netgroup: nis To test, use glibc's getent tool: - -$ getent ahosts `hostname` + $ getent ahosts `hostname` ::1 STREAM omega ::1 DGRAM ::1 RAW 127.0.0.2 STREAM 127.0.0.2 DGRAM -127.0.0.2 RAW - +127.0.0.2 RAW In this case the local hostname is omega. -- cgit v1.2.3