Hello,

The -N option doesn't seem to work when one of the file arguments
is "-".

    $ diff -N - /no_exist
    diff: /no_exist: No such file or directory

    $ diff -N /no_exist -
    diff: /no_exist: No such file or directory

On my current development platform I can use /dev/stdin as a workaround:

    $ diff -N /dev/stdin /no_exist
    foo
    1d0
    < foo

regards, Tom Jones.

-- 
Tom Jones

Reply via email to