#!/usr/bin/gawk -f BEGIN { line=1; while(getline x < F) { numY=0; split(x, lines,","); if(line%2==1) { print x; } line++; } close(F); }