On Tue, 3 Jul 2007, Andrew Morton wrote:
But the problem is that patch will get stuck in interactive mode prompting
for a filename. I've never actually worked how to make patch(1) just fail
rather than going interactive, not that I've tried terribly hard. Any
hints there?
"patch -t" (or "--batch") should do it, I suspect.
But even with "patch -tu -p1" you do seem to end up having patch notice
indented patch fragments (ie things that obviously are *not* part of the
patch, but some explanation).
Linus