Re: [PATCH -perfbook 1/2] punctcheck.pl: Expand hint message on mid-line punctuation
"Paul E. McKenney" <[email protected]> Mon, 9 Sep 2024 23:39:29 -0700
| Newsgroups | org.kernel.vger.perfbook |
|---|---|
| Message-ID | <23c22ca0-b21a-4866-aa64-45a4223c1c11@paulmck-laptop> |
On Tue, Sep 10, 2024 at 09:29:46AM +0900, Akira Yokosawa wrote: > Cover mid-sentence punctuation. > > Signed-off-by: Akira Yokosawa <[email protected]> Applied and pushed both, thank you!!! Thanx, Paul > --- > utilities/punctcheck.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/utilities/punctcheck.pl b/utilities/punctcheck.pl > index 94cbafc9..317329b4 100755 > --- a/utilities/punctcheck.pl > +++ b/utilities/punctcheck.pl > @@ -83,7 +83,7 @@ sub check_line { > $line =~ /^(?=[\s]*+[^%])[^%]*.*[\.:][\)\}\']*\s+\\\\/ ) { > $ng -= 1; > } else { > - print "vvv Hint: end of sentence needs new line vvv\n"; > + print "Hint: Break at end of sentence or mark mid-sentence punct as such (xxx.\\@).\n"; > } > } > if ($line =~ /^(?=[\s]*+[^%])[^%]*[^~]\\cite/) { > > base-commit: 4c0bf4331a91401672dda6d45a91e17f2a6ac944 > -- > 2.34.1 >