But it certainly will break combinations of spaces and tabs. Why not just use the standard expand utility, which will handle tabs correctly?