From c2fe6365ec3bdc6c2cde3e8b2f05bb4b764dfe3b Mon Sep 17 00:00:00 2001 From: LogCreative Date: Tue, 26 Nov 2024 14:17:54 +0800 Subject: [PATCH] fix: wordcount findstr command args (#1070) --- Compile.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compile.bat b/Compile.bat index 070d61c3..467b6ab5 100644 --- a/Compile.bat +++ b/Compile.bat @@ -77,7 +77,7 @@ goto :EOF set found=0 setlocal enabledelayedexpansion - findstr \R \C:"\\documentclass\[[^\[]*lang *= *en" %THESIS%.tex > nul + findstr /R /C:"\\documentclass\[[^\[]*lang *= *en" %THESIS%.tex > nul if %errorlevel% equ 0 ( for /f "delims=" %%i in ('texcount %THESIS%.tex -inc -char-only 2^>nul') do ( if !found! equ 1 (