mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-10-30 08:41:08 +01:00
Prefer ggrep for grep invocations that use GNU extensions.
This commit is contained in:
parent
fa59fd510c
commit
2e6e100a2e
3 changed files with 3 additions and 3 deletions
|
|
@ -43,7 +43,7 @@ potentially_new_packages() {
|
|||
}
|
||||
|
||||
extract_urls() {
|
||||
grep -hoe 'http[^"]\+#[^"]\+' "$@" | sort | uniq
|
||||
$(type -p ggrep grep | head -1) -hoe 'http[^"]\+#[^"]\+' "$@" | sort | uniq
|
||||
}
|
||||
|
||||
update() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue