diff options
author | thislooksfun <tlf@thislooks.fun> | 2021-10-26 13:08:39 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-02 12:23:30 +0100 |
commit | c2d44209a8f508ccb243410fc0e591976820b287 (patch) | |
tree | 6500ff07de9f876a3bc4958e178636e5d5b510ad /Meta/lint-missing-resources.sh | |
parent | 4de7b3ad24209777d40445ed4e8b6ffcee5185b6 (diff) | |
download | serenity-c2d44209a8f508ccb243410fc0e591976820b287.zip |
Meta: Use grep -E/F, not grep -P
grep -E and -F are POSIX standard, and meets all our matching needs.
Diffstat (limited to 'Meta/lint-missing-resources.sh')
-rwxr-xr-x | Meta/lint-missing-resources.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/lint-missing-resources.sh b/Meta/lint-missing-resources.sh index 1a1b6f6a63..bb21b5c4af 100755 --- a/Meta/lint-missing-resources.sh +++ b/Meta/lint-missing-resources.sh @@ -7,7 +7,7 @@ cd "$script_path/.." # The dollar symbol in sed's argument is for "end of line", not any shell variable. # shellcheck disable=SC2016 -grep -Pirh '(?<!file://)(?<!\.)(?<!})(?<!\()/(etc|res|usr|www)/' AK/ Base DevTools/ Documentation/ Kernel/ Services/ Userland/ | \ +grep -Eirh '(?<!file://)(?<!\.)(?<!})(?<!\()/(etc|res|usr|www)/' AK/ Base DevTools/ Documentation/ Kernel/ Services/ Userland/ | \ sed -re 's,^.*["= `]/([^"%`: ]+[^"%`: /.])/?(["%`: .].*)?$,\1,' | \ sort -u | \ while read -r referenced_resource |