From a602a549cb808c80aaf7436213d053aa90c7ab21 Mon Sep 17 00:00:00 2001 From: LeeHyungJoo Date: Fri, 15 Dec 2023 10:52:06 +0900 Subject: [PATCH] Update update_readme.sh --- update_readme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_readme.sh b/update_readme.sh index d331338..0a58e12 100755 --- a/update_readme.sh +++ b/update_readme.sh @@ -2,4 +2,4 @@ file_count=$(($(git ls-files | wc -l)) / 2) # Replace placeholder in README.md with the file count -sed -i "s/%FILE_COUNT%/$file_count/g" README.md +sed -i -E "s/(Total Count of Solved : )[0-9]+/\1$file_count/g"README.md