summaryrefslogtreecommitdiff
path: root/Meta/lint-missing-resources.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/lint-missing-resources.sh')
-rwxr-xr-xMeta/lint-missing-resources.sh2
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