Iterate through stdout