]> git.ipfire.org Git - thirdparty/curl.git/commit
singleuse: make `git grep` faster, add Apple `nm` support
authorViktor Szakats <commit@vsz.me>
Thu, 26 Sep 2024 19:16:21 +0000 (21:16 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 27 Sep 2024 08:27:08 +0000 (10:27 +0200)
commitfcc89619d99a7d2473d63fe92b8e4cd820c91ebf
tree731337b3c9bf9e137403e385424084c0daf40b9c
parentf0f9e2c61fd1752a70d548b86df147242c593296
singleuse: make `git grep` faster, add Apple `nm` support

- avoid regexp in grep to make it run faster.
- add support for parsing Apple `nm` output:
  - skip leading underscore from function names.
  - pick object name from output.

Closes #15070
scripts/singleuse.pl