From 9e82c35064e698cc9967dc83bce4ee843ae55ba6 Mon Sep 17 00:00:00 2001 From: David Hugh Malcolm Date: Aug 02 2018 09:08:48 +0000 Subject: [PATCH 1/2] Fix spelling of "daemon" --- diff --git a/man-page-day.sh b/man-page-day.sh index 34e8720..2250b22 100755 --- a/man-page-day.sh +++ b/man-page-day.sh @@ -246,10 +246,10 @@ for f in "${binfiles[@]}"; do msg "man page is in section 1" "ok" elif [[ "$sec" == "8" ]]; then msg "man page is in section 8. Only commands requiring admin privileges, \ -or deamons should be in this section, the rest should be in section 1" "warn" +or daemons should be in this section, the rest should be in section 1" "warn" else msg "man page is in unexpected section ${sec}. Man pages for binaries should \ -be in section 1, or if binary requires admin privileges or if binary is a deamon, then \ +be in section 1, or if binary requires admin privileges or if binary is a daemon, then \ the man page should be in section 8" "error" fi # Remove "used" man page From 6e75fa4fbbd6e0fc2827dacedb34117fc53742c1 Mon Sep 17 00:00:00 2001 From: David Hugh Malcolm Date: Aug 02 2018 09:14:43 +0000 Subject: [PATCH 2/2] README.rst: fix spelling of "daemon" --- diff --git a/README.rst b/README.rst index ecfd488..d60fff6 100644 --- a/README.rst +++ b/README.rst @@ -20,7 +20,7 @@ Here are some examples: Warnings ---------- -1) man page is in section 8. Only commands requiring admin privileges, or deamons should be in this section, the rest should be in section 1 +1) man page is in section 8. Only commands requiring admin privileges, or daemons should be in this section, the rest should be in section 1 The manual is generally split into eight numbered sections and in section 8 should be system administration commands and daemons. @@ -62,6 +62,6 @@ The manual is generally split into eight numbered sections and in section 5 shou lexgrog - parse header information in man pages. exit status 2 - lexgrog failed to parse one or more of its input files. -5) man page is in unexpected section ${sec}. Man pages for binaries should be in section 1, orif binary requires admin privileges or if binary is a deamon, then the man page should be in section 8. +5) man page is in unexpected section ${sec}. Man pages for binaries should be in section 1, orif binary requires admin privileges or if binary is a daemon, then the man page should be in section 8. So, it's something else (not sections 1 and 8).