Utilities Notes

grep – repeating pattern count


Did that show up as “period-leftCurlyBrace-8-0-comma-rightCurlyBrace”

In BBedit version 6.5…in the Find dialog…enable GREP, enter that string, do a “find all”

What you get is a window containing all lines that are 80 characters long (or longer)

The period matches any character except newline.

The braces surround a quantifier. The comma inside says match at least. With no comma it would match exactly. You can make some thing like


which means between 80 and 90 characters.