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 '^(}| [^ ]
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 '^(}| [^ ])'
___
Hola,
Mike Wright wrote:
> I have a regex I'm trying to build. A match is determined by the contents
> of the first two columns.
>
> 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
>
> Now this seems simple
Hey all,
I have a regex I'm trying to build. A match is determined by the
contents of the first two columns.
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
Now this seems simple but all I've managed to do