> 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.hutte...@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
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to