mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +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
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