From: Waldemar Schultz Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP port of WHICH Date: Thu, 24 Aug 2000 14:57:24 +0200 Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) Lines: 23 Message-ID: <39A51BB4.D87ACAA9@ma.tum.de> References: <44An5.13355$Gs DOT 66133 AT news4 DOT atl> <7QWn5.142399$Fw6 DOT 3484407 AT afrodite DOT telenet-ops DOT be> <5567-Mon21Aug2000143151+0300-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: pcritter10.mathematik.tu-muenchen.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: wsc10.lrz-muenchen.de 967121862 13995 131.159.69.74 (24 Aug 2000 12:57:42 GMT) X-Complaints-To: news AT lrz-muenchen DOT de NNTP-Posting-Date: 24 Aug 2000 12:57:42 GMT X-Mailer: Mozilla 4.73 [de]C-CCK-MCD DT (Win98; U) X-Accept-Language: de,en,en-US To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com David schrieb: > Questions: > 1. Is there enough of a demand for a DJGPP version of which for it > to be worthwhile to change the "which.c" to use the > __dosexec_find_on_path and still support the "-a" switch? > 2. Would anyone be interested in a version of "which" that allows > the user to specify extra search extensions in an environment > variable? This would be useful for finding Perl scripts, Windows > NT ".cmd" files, and other interesting executables. I once wrote a simple version of which.c that always acts alike gnu which -a. You can all have (and modify) it, if you like. I can post it or mail (5 KB) the output looks like this: C:\USR\tool>which which ..\BIN\which.exe (131 KB 24.08.2000 14:52) C:\USR\BIN\which.exe (50 KB 9.02.2000 16:44) -- Gruss Waldemar Schultz. Technische Universität München, Zentrum Mathematik M1, D 80290 München Tel: +49 (0)89 2892 8226 FAX: +49 (0)89 2892 8228