3 ms·
or you could just: diff X Y and check the return code. Oh you crazy pythonistas.
by ascotan 11y ago
or you could just:
diff X Y
and check the return code.
Oh you crazy pythonistas.
- vram22 11y agoYou're either trolling, or just didn't / couldn't get that the post was for fun and learning, exploring new/alternative ways of doing things. > diff X Y For that matter, doing: cmp X Y is even simpler since it doesn't create as much output as diff when the files are different. And hey, we saved one letter over diff. /s According to your logic, no one should have done an alternative version of a program after the first one for that need was created. The world would be a much poorer place. Only one language, assembly or FORTRAN /COBOL, only one OS, one DB, etc. Poor fellow - you crazy commenter.