Date: Thu, 20 Jan 2000 15:57:36 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Waldemar Schultz cc: djgpp AT delorie DOT com Subject: Re: Create response files In-Reply-To: <3886D9A7.266D2D6F@ma.tum.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 20 Jan 2000, Waldemar Schultz wrote: > > cool! > > Is ther a list of other such useful commands like taht? > > sorry, disregard the question please. of course it's in info *Utilities. Yes, it's in "info utils". But, as a hint, based on much grey hair I got looking for these tricks, the other useful command is `redir'. And I don't mean just as a standard stream redirector; I mean as a general launcher of programs. For example, you could use it to safely run a program whose pathname is given with Unix-style forward slashes (typically, in a Makefile), even if you need to call COMMAND.COM. Here's an example: foo/bar: if exist foo\bar.o $(MAKE) -C foo This will not work, because $(MAKE) expands into something like "c:/djgpp/bin/make.exe", and COMMAND.COM would choke on it. But the following *will* work: foo/bar: if exist foo\bar.o redir $(MAKE) -C foo bar