Use awk instead of sed to filter ever Nth line out of the integration test output



The sed -n "K~N" syntax is not compatible with sed on MacOS.