patch -e from stdin broken?
pedro_alves@portugalmail.pt
pedro_alves@portugalmail.pt
Wed Feb 21 15:35:00 GMT 2007
Hi guys,
While looking at why 'quilt annotate' is broken in Cygwin, I found
something fishy on 'patch' in ed mode. Looks like reading the patch
from stdin is broken. Reading the patch from a file with -i works
ok. Here is how to reproduce:
$ touch a.txt
$ cat << EOF > b.txt
> a new line
> EOF
$ diff -e a.txt b.txt > ab.diff
$ cat ab.diff
0a
a new line
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list