⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
openQA Project (public)
All Projects
QA (public)
»
openQA Project (public)
Overview
Activity
Roadmap
Issues
Wiki
Download (282 Bytes)
action #138032
» check.sh
script with ripgrep :D -
osukup
, 2024-01-17 11:00
#!/bin/bash
#
rgg
()
{
# needs ripgrep with pcre2
rg
--engine
pcre2
--stats
"(?<!_)
${
1
}
"
${
2
}
||
:
}
for
path
in
./ os-autoinst-distri-opensuse
;
do
while
read
-r
line
;
do
echo
"
${
path
}
-
${
line
}
:
$(
rgg
${
line
}
${
path
}
|
tail
-8
|
head
-n1
)
"
done
< ../fun.txt
done
« Previous
1
2
Next »
(1-1/2)
Loading...