Quantcast
Channel: List files where searched term occurs more than a Threshold - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 3 View Live

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 Article


Answer 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 Article


List 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
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>