What does Linux diff -w or –ignore-all-space option do?

You can use diff -w or –ignore-all-space options to ignore all white space.