From: myknees AT aol DOT com (Myknees) Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp find OK? Date: 15 Jun 1998 23:03:36 GMT Lines: 23 Message-ID: <1998061523033600.TAA29874@ladder01.news.aol.com> NNTP-Posting-Host: ladder01.news.aol.com References: Organization: AOL http://www.aol.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article , Eli Zaretskii writes: >> cd \djgpp\bin >> ln -s find.exe gfind.exe > >This will only work for interactive jobs. But if you have a shell script >or a Makefile which need `find' you will still get the DOS version. That's what I did with date for interactive use. For portable shell scripts I suppose you'd say something like: #! $DJDIR/bin/sh if [ "$DJGPP" = "" ]; then FINDDIR= else FINDDIR=$DJDIR/bin fi # ... --Ed (Myknees)