Pull tab separated output into a function