tools/footprint/create_dat.awk
author dbaron@dbaron.org
Thu, 15 Nov 2007 10:10:31 -0800
changeset 8046 e322bd55cd3d49a39124093d8a3be11277b2a77d
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+

BEGIN     { COUNT = 1
            if (TYPE == "") TYPE = "vms";
          }

/^[0-9]/  { if      (TYPE == "vms") print COUNT, $1;
            else if (TYPE == "vmd") print COUNT, $4;
            else if (TYPE == "vmx") print COUNT, $2 + $3;
            else if (TYPE == "rss") print COUNT, $6;

            COUNT = COUNT + 1;
          }

/^ /      { print COUNT, "0";
            COUNT = COUNT + 1; \
          }