From: Andy Eskilsson Newsgroups: comp.os.msdos.djgpp Subject: Re: Weird patch and redir problems.. Patch doesn't want to patch :-( Date: 07 Mar 1997 08:59:49 +0100 Organization: Telelogic AB, Sweden Lines: 31 Sender: x-aes AT vega Message-ID: References: Reply-To: x-aes AT telelogic DOT se NNTP-Posting-Host: vega.telelogic.se Mime-Version: 1.0 (generated by tm-edit 7.101) Content-Type: text/plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp / Eli Zaretskii wrote: | On 6 Mar 1997, Andy Eskilsson wrote: | | > Patching file mm using Plan A... | > Hunk #1 succeeded at 1. | > Can't backup mm, output is in c:/temp/poaaaaaa: No such file or directory (ENOENT) | > done | | Do you set LFN=y? If not, set it and try again. If you do have LFN=y, | set it to n and see if that helps. Methinks this is some kind of LFN | mishap. LFN is set to 'y' yes.. I tried it with LFN set to 'n' and it worked.. but.. but some of the files I want to patch has long filenames. Am I supposed to bugreport this somewhere, get rid of dos or just crawl back under my rock ;-) | Why are you trying to live dangerously? Just let `redir' handle the | entire redirecting job, instead of relying on 4DOS: | | redir -i diffs-t6 -o outfile -eo patch -p2 Hee Hee :-) Some of us likes to live on the edge.. To be honest, I couldn't imagine that you could use both -o and -eo, maybe some better docs for redir?? (The only I have found is the ones that comes when you type 'redir') I now discovered that 4dos can take care of stderr too, but what if I want to do something like command |& tee output, under command.com, can redir be used for this. /Andy