[PATCH -perfbook 1/2] punctcheck.pl: Expand hint message on mid-line punctuation
Akira Yokosawa <[email protected]> Tue, 10 Sep 2024 09:29:46 +0900
| Newsgroups | org.kernel.vger.perfbook |
|---|---|
| Message-ID | <[email protected]> |
Cover mid-sentence punctuation. Signed-off-by: Akira Yokosawa <[email protected]> --- 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