From 92f29349d5515fa65a88c0f6f6e05fef79b66cfa Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 24 Oct 2023 11:41:18 +0900 Subject: [PATCH] Use extquote instead of literal tabs [ci skip] --- .github/workflows/check_misc.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index 269c62ee08..f8f2280005 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -28,12 +28,12 @@ jobs: - name: Check if C-sources are US-ASCII run: | - grep -r -n '[^ -~]' -- *.[chy] include internal win32/*.[ch] && exit 1 || : + grep -r -n $'[^\t -~]' -- *.[chy] include internal win32/*.[ch] && exit 1 || : - name: Check for trailing spaces run: | - git grep -I -n '[ ]$' -- '*.rb' '*.[chy]' '*.rs' && exit 1 || : - git grep -n '^[ ][ ]*$' -- '*.md' && exit 1 || : + git grep -I -n $'[\t ]$' -- '*.rb' '*.[chy]' '*.rs' && exit 1 || : + git grep -n $'^[\t ][\t ]*$' -- '*.md' && exit 1 || : - name: Check for bash specific substitution in configure.ac run: |