mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-24 02:08:58 +00:00
Meta: Use grep -E/F, not grep -P
grep -E and -F are POSIX standard, and meets all our matching needs.
This commit is contained in:
parent
4de7b3ad24
commit
c2d44209a8
Notes:
sideshowbarker
2024-07-18 01:37:08 +09:00
Author: https://github.com/thislooksfun
Commit: c2d44209a8
Pull-request: https://github.com/SerenityOS/serenity/pull/10652
Reviewed-by: https://github.com/BenWiederhake ✅
6 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue