[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On darwin, diff <(echo ab) <(echo cd) does nothing
From: |
John.Cowan |
Subject: |
Re: On darwin, diff <(echo ab) <(echo cd) does nothing |
Date: |
Sun, 21 Aug 2005 21:14:46 -0400 |
User-agent: |
Mutt/1.4.2.1i |
Vincent Lefevre scripsit:
> Instead of checking the file name (vs /dev/fd/*), one can say that
> if a file is a fifo, then the files are different. Even if two fifos
> were the same file, I think it is a bug not to read them, since this
> is an optimisation that has a side effect.
IMO diff and friends ought not to do this optimization for *anything*
but a plain file or directory. "diff /dev/tty /dev/tty" currently just
returns 0 without reading anything from the tty, which is Evil and Wrong.
(Solaris diff reads two files from the tty and compares them, as it
should.)
--
May the hair on your toes never fall out! John Cowan
--Thorin Oakenshield (to Bilbo) address@hidden
- On darwin, diff <(echo ab) <(echo cd) does nothing, Vincent Lefevre, 2005/08/20
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing, Paul Eggert, 2005/08/20
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing, Vincent Lefevre, 2005/08/20
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing, Paul Eggert, 2005/08/21
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing, Vincent Lefevre, 2005/08/21
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing, Vincent Lefevre, 2005/08/21
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing, Paul Eggert, 2005/08/21
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing, Vincent Lefevre, 2005/08/21
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing,
John.Cowan <=
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing, Paul Eggert, 2005/08/21
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing, John.Cowan, 2005/08/22
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing, Vincent Lefevre, 2005/08/23
- Re: On darwin, diff <(echo ab) <(echo cd) does nothing, Vincent Lefevre, 2005/08/23