Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74AA2C433E0 for ; Fri, 12 Jun 2020 19:39:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 498A42063A for ; Fri, 12 Jun 2020 19:39:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pGUNLgl9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726283AbgFLTjG (ORCPT ); Fri, 12 Jun 2020 15:39:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726268AbgFLTjF (ORCPT ); Fri, 12 Jun 2020 15:39:05 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74D76C03E96F for ; Fri, 12 Jun 2020 12:39:05 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id q11so11007396wrp.3 for ; Fri, 12 Jun 2020 12:39:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=cc:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lZSCqGyAGbw0C82bJJuCylfOmDpo0uXnm6ckohk4dP8=; b=pGUNLgl9pHqyfLJAxcSCQvUyafqkxldS98Go2zKWyy/olJCRUdCduREA8ZSbxTJo0D HuVu6B9WHk8GraolrFcXCoCKuw5nkxmCyeIpXvOZy5xFMi/34NZzmx/GA94kNZlDwX1f NjvjLVFOJ7IyDTTO/hf7TVX9KW82x08Fujadf6/45w1gdZifH9PrNLWEnx8xDoVoiXrE 5Fe9e0VBe2j9b0ysbpbEdlNvnzJsVAvAU2l5Jd0RaNE7zXUa8Xh9y5uO8x8ofAsEnDdz ZlOHIcuHbRHIFtuJFWrgI0CWdAQZgUSqESHHeqxju3treJIIYu3ph4aY+aXo4nCn41vl 1HyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lZSCqGyAGbw0C82bJJuCylfOmDpo0uXnm6ckohk4dP8=; b=UPOGwqrmFQa0kJSRxQ2EivJ0IZAU6Psq19QwnAarxV0F5mH7WNwEvAACpqfPI31Cr2 g66dRAdq84NQ4yWb2b/8E7e2u4yMeEqOVVT06CPFUXYyYpatyzg/KqC7b8LS/NmirtSt 2aFrkmOMIKZ/cPMxfFi+ETBgAqYgm/AAugyTh2jqvfcJ/ZPRIIo5zBm4m+q9cvDAH5wf pCz4KGgwi405pBV4rp8B5ZZAeJz4uYCCJo2cdjefuM//OyEBbLsiMJRb26T8ILeSIEek qlXojGk7quUrx4oAcBMDu8emapMgH6Rks7rSDA3kXz4ckIcyok9s2KUxk5KIbP2iOUUd Rf3w== X-Gm-Message-State: AOAM531rgu+Vw0d4f87ejzSgzyQJLSpYaGG9JUNR5RGnPwPhYuddKY3D Iw9BGQdMF3AvwLWI5lzYK1jb+ZJVrhY= X-Google-Smtp-Source: ABdhPJxAtRNlLoj9461s7fCg+mXcL4P1Re3Msp6zZqpgKg8QHJduNNZEmXYkV/BNyE3Hp/FQDCsucw== X-Received: by 2002:adf:a18b:: with SMTP id u11mr16362511wru.102.1591990743843; Fri, 12 Jun 2020 12:39:03 -0700 (PDT) Received: from ?IPv6:2001:a61:253c:8201:b2fb:3ef8:ca:1604? ([2001:a61:253c:8201:b2fb:3ef8:ca:1604]) by smtp.gmail.com with ESMTPSA id g18sm10915770wme.17.2020.06.12.12.39.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jun 2020 12:39:03 -0700 (PDT) Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org Subject: Re: [PATCH] man2/*: srcfix: trim trailing space To: Bjarni Ingi Gislason References: <20200612032323.GA17390@rhi.hi.is> From: "Michael Kerrisk (man-pages)" Message-ID: Date: Fri, 12 Jun 2020 21:39:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200612032323.GA17390@rhi.hi.is> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-man-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org Hello Bjarni, On 6/12/20 5:23 AM, Bjarni Ingi Gislason wrote: > Remove superfluous space at the end of a processed input line. > > There is no change in the output from "nroff" and "groff". Thanks, patch applied. Cheers, Michael > Signed-off-by: Bjarni Ingi Gislason > --- > man2/clone.2 | 6 +++--- > man2/execve.2 | 2 +- > man2/ioctl_ns.2 | 2 +- > man2/keyctl.2 | 2 +- > man2/perf_event_open.2 | 2 +- > man2/poll.2 | 2 +- > man2/prctl.2 | 2 +- > man2/ptrace.2 | 2 +- > man2/recvmmsg.2 | 2 +- > man2/shmop.2 | 2 +- > man2/sigaction.2 | 4 ++-- > man2/sigreturn.2 | 2 +- > man2/sigwaitinfo.2 | 2 +- > man2/syslog.2 | 2 +- > 14 files changed, 17 insertions(+), 17 deletions(-) > > diff --git a/man2/clone.2 b/man2/clone.2 > index 64eb32e32..32e552f53 100644 > --- a/man2/clone.2 > +++ b/man2/clone.2 > @@ -50,7 +50,7 @@ clone, __clone2, clone3 \- create a child process > .B #include > .PP > .BI "int clone(int (*" "fn" ")(void *), void *" stack \ > -", int " flags ", void *" "arg" ", ... " > +", int " flags ", void *" "arg" ", ..." > .BI " /* pid_t *" parent_tid ", void *" tls \ > ", pid_t *" child_tid " */ );" > .PP > @@ -1682,9 +1682,9 @@ On ia64, a different interface is used: > .PP > .in +4 > .EX > -.BI "int __clone2(int (*" "fn" ")(void *), " > +.BI "int __clone2(int (*" "fn" ")(void *)," > .BI " void *" stack_base ", size_t " stack_size , > -.BI " int " flags ", void *" "arg" ", ... " > +.BI " int " flags ", void *" "arg" ", ..." > .BI " /* pid_t *" parent_tid ", struct user_desc *" tls , > .BI " pid_t *" child_tid " */ );" > .EE > diff --git a/man2/execve.2 b/man2/execve.2 > index 4fc012e8a..e8efb75da 100644 > --- a/man2/execve.2 > +++ b/man2/execve.2 > @@ -40,7 +40,7 @@ execve \- execute program > .SH SYNOPSIS > .B #include > .PP > -.BI "int execve(const char *" pathname ", char *const " argv "[], " > +.BI "int execve(const char *" pathname ", char *const " argv [], > .br > .BI " char *const " envp []); > .SH DESCRIPTION > diff --git a/man2/ioctl_ns.2 b/man2/ioctl_ns.2 > index d77969ddc..6d9b00884 100644 > --- a/man2/ioctl_ns.2 > +++ b/man2/ioctl_ns.2 > @@ -215,7 +215,7 @@ $ \fBunshare \-Uu sleep 1000 &\fP > [1] 23235 > $ \fB./ns_show /proc/23235/ns/uts u\fP > Device/Inode of owning user namespace is: [0,3] / 4026532448 > -$ \fBreadlink /proc/23235/ns/user \fP > +$ \fBreadlink /proc/23235/ns/user\fP > user:[4026532448] > .EE > .in > diff --git a/man2/keyctl.2 b/man2/keyctl.2 > index 1c12ed6ec..af093c17a 100644 > --- a/man2/keyctl.2 > +++ b/man2/keyctl.2 > @@ -2009,7 +2009,7 @@ we can see the command-line arguments supplied to our example program: > .PP > .in +4n > .EX > -$ \fBcat /tmp/key_instantiate.log \fP > +$ \fBcat /tmp/key_instantiate.log\fP > Time: Mon Nov 7 13:06:47 2016 > > Command line arguments: > diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 > index 7efbea098..3e3626207 100644 > --- a/man2/perf_event_open.2 > +++ b/man2/perf_event_open.2 > @@ -2275,7 +2275,7 @@ is enabled, then the user CPU registers are recorded. > The > .I abi > field is one of > -.BR PERF_SAMPLE_REGS_ABI_NONE ", " PERF_SAMPLE_REGS_ABI_32 " or " > +.BR PERF_SAMPLE_REGS_ABI_NONE ", " PERF_SAMPLE_REGS_ABI_32 " or" > .BR PERF_SAMPLE_REGS_ABI_64 . > .IP > The > diff --git a/man2/poll.2 b/man2/poll.2 > index b907fd8f7..afa4db450 100644 > --- a/man2/poll.2 > +++ b/man2/poll.2 > @@ -40,7 +40,7 @@ poll, ppoll \- wait for some event on a file descriptor > .B #include > .B #include > .PP > -.BI "int ppoll(struct pollfd *" fds ", nfds_t " nfds ", " > +.BI "int ppoll(struct pollfd *" fds ", nfds_t " nfds , > .BI " const struct timespec *" tmo_p ", const sigset_t *" sigmask ); > .fi > .SH DESCRIPTION > diff --git a/man2/prctl.2 b/man2/prctl.2 > index 184e1a98c..42300a9f5 100644 > --- a/man2/prctl.2 > +++ b/man2/prctl.2 > @@ -784,7 +784,7 @@ option enabled. > .RE > .\" prctl PR_MPX_ENABLE_MANAGEMENT > .TP > -.BR PR_MPX_ENABLE_MANAGEMENT ", " PR_MPX_DISABLE_MANAGEMENT " (since Linux 3.19, removed in Linux 5.4; only on x86) " > +.BR PR_MPX_ENABLE_MANAGEMENT ", " PR_MPX_DISABLE_MANAGEMENT " (since Linux 3.19, removed in Linux 5.4; only on x86)" > .\" commit fe3d197f84319d3bce379a9c0dc17b1f48ad358c > .\" See also http://lwn.net/Articles/582712/ > .\" See also https://gcc.gnu.org/wiki/Intel%20MPX%20support%20in%20the%20GCC%20compiler > diff --git a/man2/ptrace.2 b/man2/ptrace.2 > index b62624153..bf95748d3 100644 > --- a/man2/ptrace.2 > +++ b/man2/ptrace.2 > @@ -109,7 +109,7 @@ ptrace \- process trace > .nf > .B #include > .PP > -.BI "long ptrace(enum __ptrace_request " request ", pid_t " pid ", " > +.BI "long ptrace(enum __ptrace_request " request ", pid_t " pid , > .BI " void *" addr ", void *" data ); > .fi > .SH DESCRIPTION > diff --git a/man2/recvmmsg.2 b/man2/recvmmsg.2 > index 1cee8a1b6..a00c88ac1 100644 > --- a/man2/recvmmsg.2 > +++ b/man2/recvmmsg.2 > @@ -203,7 +203,7 @@ containing a random number: > .PP > .in +4n > .EX > -.RB "$" " while true; do echo $RANDOM > /dev/udp/127.0.0.1/1234; " > +.RB "$" " while true; do echo $RANDOM > /dev/udp/127.0.0.1/1234;" > .B " sleep 0.25; done" > .EE > .in > diff --git a/man2/shmop.2 b/man2/shmop.2 > index 42da1a998..d5b6e9da1 100644 > --- a/man2/shmop.2 > +++ b/man2/shmop.2 > @@ -304,7 +304,7 @@ and then waits for the semaphore to change value. > .PP > .in +4n > .EX > -$ \fB./svshm_string_read \fP > +$ \fB./svshm_string_read\fP > shmid = 1114194; semid = 15 > .EE > .in > diff --git a/man2/sigaction.2 b/man2/sigaction.2 > index a463b5411..bf846fccb 100644 > --- a/man2/sigaction.2 > +++ b/man2/sigaction.2 > @@ -168,7 +168,7 @@ is > .BR SIGCHLD , > do not receive notification when child processes stop (i.e., when they > receive one of > -.BR SIGSTOP ", " SIGTSTP ", " SIGTTIN ", " > +.BR SIGSTOP ", " SIGTSTP ", " SIGTTIN , > or > .BR SIGTTOU ) > or resume (i.e., they receive > @@ -849,7 +849,7 @@ points to memory which is not a valid part of the process address space. > An invalid signal was specified. > This will also be generated if an attempt > is made to change the action for > -.BR SIGKILL " or " SIGSTOP ", " > +.BR SIGKILL " or " SIGSTOP , > which cannot be caught or ignored. > .SH CONFORMING TO > POSIX.1-2001, POSIX.1-2008, SVr4. > diff --git a/man2/sigreturn.2 b/man2/sigreturn.2 > index 667aeaac4..dd3975bea 100644 > --- a/man2/sigreturn.2 > +++ b/man2/sigreturn.2 > @@ -54,7 +54,7 @@ This > .BR sigreturn () > call undoes everything that was > done\(emchanging the process's signal mask, switching signal stacks (see > -.BR sigaltstack "(2))\(emin " > +.BR sigaltstack "(2))\(emin" > order to invoke the signal handler. > Using the information that was earlier saved on the user-space stack > .BR sigreturn () > diff --git a/man2/sigwaitinfo.2 b/man2/sigwaitinfo.2 > index 45c16ee5d..e8b6f9e5a 100644 > --- a/man2/sigwaitinfo.2 > +++ b/man2/sigwaitinfo.2 > @@ -32,7 +32,7 @@ for queued signals > .PP > .BI "int sigwaitinfo(const sigset_t *" set ", siginfo_t *" info ");" > .PP > -.BI "int sigtimedwait(const sigset_t *" set ", siginfo_t *" info ", " > +.BI "int sigtimedwait(const sigset_t *" set ", siginfo_t *" info , > .BI " const struct timespec *" timeout ");" > .fi > .PP > diff --git a/man2/syslog.2 b/man2/syslog.2 > index 7d8b30c6e..388bce582 100644 > --- a/man2/syslog.2 > +++ b/man2/syslog.2 > @@ -254,7 +254,7 @@ be printed to the console. > The default value for this field is > .B DEFAULT_CONSOLE_LOGLEVEL > (7), but it is set to > -4 if the kernel command line contains the word "quiet", \" since Linux 2.4 > +4 if the kernel command line contains the word "quiet",\" since Linux 2.4 > 10 if the kernel command line contains the word "debug", > and to 15 in case > of a kernel fault (the 10 and 15 are just silly, and equivalent to 8). > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/