You may try this find + awk
:
find . -type f -exec awk 'length() <= 80 && /sqs/ {
print FILENAME ":" FNR ":33[1;31m" $0 "33[0m "}' {} +
length() <= 80
will search sqs
string in lines that have 80 or less characters in them.
"33[1;31m" $0 "33[0m "
is used to color the line red
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…