↧
Answer by cas for List files where searched term occurs more than a Threshold
This will work even if the filename does contain a : character. It uses two capture groups, the first captures everything up to (but not including) the last : character in a line (the filename) and the...
View ArticleAnswer by Freddy for List files where searched term occurs more than a Threshold
With awk:... | awk -F: '$NF>10{ sub(/:[0-9]+$/, ""); print }'Split records on : and test if the last field is greater 10. If the condition is true, remove : followed by at least one digit at the end...
View ArticleList files where searched term occurs more than a Threshold
I have a command likerga --files-with-matches --count-matches --sort path -i -e "use cases?" -e "user stor(y|ies)" -e "Technical debt" -e "Code Quality" -e "software development" -e "Agile...
View Article