[PLUG] Gawk script not working as intended [RESOLVED]

Reid nrwahl at protonmail.com
Mon May 20 21:29:44 UTC 2019


It shouldn't... does it work differently for you after you add the space?

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, May 20, 2019 2:26 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:

> On Mon, 20 May 2019, Robert Citek wrote:
>
> > This is what I am getting:
> > $ cat plug.awk
> > #!/usr/bin/awk
> > BEGIN { FS=OFS="," }
> > { if ( $5 ~ /'Legal Contact'/ ) # double quotes also fail
> > Is that what you are looking for?
>
> Robert,
>
> Ah, ha! I did not realize that the tilde needed a following space, too. I
> missed that critical point in my readings.
>
> Thanks,
>
> Rich
>
> PLUG mailing list
> PLUG at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug





More information about the PLUG mailing list