Merge cmd output