We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c03bd5 commit e58c48fCopy full SHA for e58c48f
1 file changed
Makefile
@@ -153,8 +153,13 @@ todos:
153
154
.PHONY: grep-uuids
155
grep-uuids:
156
- $(AG) "\b[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\b"
+ @rg -H --no-heading '^.*([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}).*$$' -r '$$1' \
157
+ | sed -nr 's/^(.+):([a-f0-9-]+)$$/\1\t\2/p' \
158
+ | sort -k2 \
159
+ | uniq --all-repeated=separate -f1 \
160
+ | sed -r 's/^(.*) (.*)$$/\2\t\1/'
161
162
+.PHONY: grep-conan-requires
163
grep-conan-requires:
164
@rg -t py '^.*requires\(f?["](.+/[0-9]+\.[^)]+)["].*\).*$$' -r '$$1' -I --no-heading --no-line-number | sort | uniq
165
0 commit comments