handle whitespace before %% in scanf this is mandated by C and POSIX standards and is in accordance with glibc behavior.