[PATCH xserver] sdksyms: Skip empty symbols
Jeff Smith
whydoubt at gmail.com
Thu Apr 12 15:42:46 UTC 2018
> my awk skills are non-existent but shouldn't this be $symbol? The condition a few
> lines above uses $n == "" instead of n == ""
>
> with that change, Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
>
> Cheers,
> Peter
Well, awk is a bit peculiar in that respect.
Noting that awk automatically splits a read line into tokens $1, $2,
$3, and so on (and $0 is the whole),
where n == 2, $n would be equal to the second token of the
most-recently read line.
"symbol" without the dollar sign is actually correct.
- Jeff
More information about the xorg-devel
mailing list