For this particular example, the creators of the OS has thought of the function, and implemented it.
But what about a slightly different one? E.g.
I have two folders, each a bunch of files. Are there any files that are not in both folders?
But what about a slightly different one? E.g.
I have two folders, each a bunch of files. Are there any files that are not in both folders?
edit: I did not know this- I just posted it because it is but one answer. For what it is worth, I agree with you- basic knowledge of programming is something everyone should know.