Sender: nate AT cartsys DOT com Message-ID: <35871625.C5EA72B8@cartsys.com> Date: Tue, 16 Jun 1998 18:04:37 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Weiqi Gao CC: djgpp AT delorie DOT com Subject: Re: djgpp find OK? References: <35843DDB DOT B92770C9 AT a DOT crl DOT com> <1998061500250301 DOT UAA25780 AT ladder03 DOT news DOT aol DOT com> <358492BE DOT 4CAED434 AT a DOT crl DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Weiqi Gao wrote: > > Myknees wrote: > > > > Whoa. That is so easy. I'm surprised it's not a FAQ; I guess people who use > > GNU find usually know about the DOS find. I'd forgotten long ago. Would it be > > helpful to put a note about DOS/Windows find.exe in the .../findutil.41/doc > > directory, anyone? Mine was a silly mistake, but an easy one to make. > > Well, this is GNU, a replacement of UNIX---piece by piece. It is > implied in the GNU manifesto that most of the programs replace UNIX > commands, sometimes with exactly the same commnad name. > > We DOS people had it easy, because there are a total of three DOS > commands that clashes with GNU command names. > > Can you find the other two? :) I found nine, total. Name GNU version DOS version ----------------------------------------------------------- date Print date in many formats Show and set date dir Like `ls' DOSish dir listing echo No limitations Limited to 127 characters expand Convert tabs to spaces Uncompress DOS file find Find files in directories Find lines in file join Join lines of two files Emulate directory as drive mkdir Takes /; can make parents No such features rmdir Takes /; can remove empty dirs No such features sort No limitations Limited to 64K (!) There are more if you count `bash' builtins, and more still with easily confused names (i.e. `fmt' vs. `format' -- a bad one!) At least for the Unix folks, the old command did something very close to the GNU one. -- Nate Eldredge nate AT cartsys DOT com