Robin Becker wrote:
Is there a way for a shell script to test if 2 is the same as 1? I
want to put messages in both when they are connected to different files,
but would like to avoid duplicating the message when they are the same.
You could try using fstat(1) to print out the open file
Matthew Seaman wrote:
Robin Becker wrote:
Is there a way for a shell script to test if 2 is the same as 1? I
want to put messages in both when they are connected to different files,
but would like to avoid duplicating the message when they are the same.
You could try using fstat(1) to print