Re: [PATCH -perfbook 1/2] punctcheck.pl: Expand hint message on mid-line punctuation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 10, 2024 at 09:29:46AM +0900, Akira Yokosawa wrote:
> Cover mid-sentence punctuation. 
> 
> Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>

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
> 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux