Skip to content

Commit

Permalink
Merge pull request #423 from per1234/portable-grep
Browse files Browse the repository at this point in the history
Fix macOS/BSD incompatibility in `general:check-filenames` task
  • Loading branch information
per1234 authored Dec 5, 2023
2 parents 321368f + a4448c5 commit 76df0e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@ tasks:
' \
basename "$0" | \
grep \
--perl-regexp \
--regexp='"'"'([<>:"/\\|?*\x{0000}-\x{001F}])|(.+\.$)'"'"' \
--extended-regexp \
--regexp='"'"'([<>:"/\\|?*'"'"'"$(printf "\001-\037")"'"'"'])|(.+\.$)'"'"' \
--silent \
&& \
echo "$0"
Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/assets/check-files-task/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ tasks:
' \
basename "$0" | \
grep \
--perl-regexp \
--regexp='"'"'([<>:"/\\|?*\x{0000}-\x{001F}])|(.+\.$)'"'"' \
--extended-regexp \
--regexp='"'"'([<>:"/\\|?*'"'"'"$(printf "\001-\037")"'"'"'])|(.+\.$)'"'"' \
--silent \
&& \
echo "$0"
Expand Down

0 comments on commit 76df0e6

Please sign in to comment.