On 11/27/22 15:54, Go Canes wrote:
On Sun, Nov 27, 2022 at 6:26 PM Mike Wright wrote:
if column 1 is a "}" the line is a match
if column 1 is a " " and column 2 is not a " " the line is a match
Untested - not sure if the "}" needs to be escaped.
egrep '^(}| [^ ])'
Works perfectly. Even made this email impossible to reply to. Had to
cut and paste this together. Never seen that before.
Thanks
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue