[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-diffutils] -N option doesn't work with "-" as a file argument
From: |
Tom Jones |
Subject: |
[bug-diffutils] -N option doesn't work with "-" as a file argument |
Date: |
Sat, 4 Feb 2012 13:20:19 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
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
- [bug-diffutils] -N option doesn't work with "-" as a file argument,
Tom Jones <=