diff options
author | root <root@vps-18a7a2b7.vps.ovh.ca> | 2024-02-22 10:50:07 -0500 |
---|---|---|
committer | root <root@vps-18a7a2b7.vps.ovh.ca> | 2024-02-22 10:50:07 -0500 |
commit | 4a090e5eee2baf815d0e3f4fc8845d28a9158ea4 (patch) | |
tree | 5c61c5a5933372ec35b53320d06da7c419f5d1c4 | |
parent | 2705aa066b152c2583887dc558dd9822506d7362 (diff) |
fix: function names can contain non-word chars
-rwxr-xr-x[-rw-r--r--] | src/dependencies.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dependencies.bash b/src/dependencies.bash index b6eee95..5382638 100644..100755 --- a/src/dependencies.bash +++ b/src/dependencies.bash | |||
@@ -12,7 +12,7 @@ difference() | |||
12 | 12 | ||
13 | extract_words() | 13 | extract_words() |
14 | { | 14 | { |
15 | grep -o -E '\b\w+\b' | sort -u | 15 | grep -o -E '\b\w[-._[:alnum:]]*' | sort -u |
16 | } | 16 | } |
17 | 17 | ||
18 | immediate_dependencies1() | 18 | immediate_dependencies1() |