diff options
-rw-r--r-- | .github/workflows/check_misc.yml | 6 |
1 files 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: | |