linuxunil
Newbie level 3

I need to check if two files are identical.
I need to avoid this:
# ** Fatal: (vsim-3336) Attempt to read past the end of file
this error happens when it reads files that are different because they have different sizes.
At the moment, I want to insert a block that checks the file size, because if it is different i no longer need to see the rest.
But what i do?
I need to avoid this:
# ** Fatal: (vsim-3336) Attempt to read past the end of file
this error happens when it reads files that are different because they have different sizes.
At the moment, I want to insert a block that checks the file size, because if it is different i no longer need to see the rest.
But what i do?