Skip to content

Commit

Permalink
fix: wordcount findstr command args (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
LogCreative authored Nov 26, 2024
1 parent 8580fa4 commit c2fe636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compile.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit c2fe636

Please sign in to comment.