Re: awk behaviour?

From: Michael Butler via freebsd-current <freebsd-current_at_freebsd.org>
Date: Wed, 28 Jul 2021 17:33:08 UTC
NVM .. it's the escaping of '$' .. <sigh>

On 7/28/21 1:29 PM, Michael Butler via freebsd-current wrote:
> I tripped over this while trying to build a local release ..
> 
> imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 10000 + $$2 * 
> 100 + $$3}'
> 10001
> 
> imb@toshi:/home/imb> pkg --version
> 1.17.1
> 
> Is this expected?
> 
>      imb
>