From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP & CGI, I found an easier way! Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <38D7C78E DOT 2708CFD1 AT pgmincorporated DOT com> <38D8529B DOT DDCCEFB AT home DOT com> <38D8D51F DOT BF79B499 AT americasm01 DOT nt DOT com> <38D8EE96 DOT 19ED9CB6 AT home DOT com> <38DCBF45 DOT 4F14B20A AT iperbole DOT bologna DOT it> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 36 X-Trace: /bCCZGVueEf9rL1FeSG+FLtWAt6Os9rT3zWXnJ8J9dyvclY1VkJQcsyNHHk0/ztRDUe4bZtSDyXN!mAIJTgxc0A9EgGWoV2YQ+S1N7qOPfErRMBuaBPRTEBIK+UvQaZxt/T+YFXhdqbfjXov0FujPeGJ1!/LBwSpY= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sat, 25 Mar 2000 14:40:03 GMT Distribution: world Date: Sat, 25 Mar 2000 14:40:03 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 25 Mar 2000 14:29:41 +0100, Giacomo Degli Esposti wrote: >"Robert L." wrote: >> >> Excuse me, but i don't have cat command in dos ( v. 7 ). I know there's one >> in unix. >> If it exist, where can i find it, else what the "spec" of this command. >> ( win98 ) > >You can find it in the Textutils package in DJGPP (txtXXXb.zip). >Anyway it is more or less equivalent to the "type" DOS command (i.e. it >copies files to stdout), so you can use "type" instead of "cat". One problem: C:\WINDOWS\Desktop>type /? Displays the contents of text files. TYPE [drive:][path]filename C:\WINDOWS\Desktop> Meaning it'll stop at the first Ctrl+Z. It would be different if there were a /b option to `type'. `cat' is often used to concatenate binary files, much as `copy /b foo.0+foo.1+foo.2 foo.out' is. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/