www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/25/20:24:18

Date: Sun, 26 Mar 2000 06:17:10 +0600 (LKT)
From: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>
X-Sender: root AT darkstar DOT grendel DOT net
To: djgpp AT delorie DOT com
Subject: Re: DJGPP & CGI, I found an easier way!
In-Reply-To: <fnjpdsktthe2vqiojmc335ndbe49ja9het@4ax.com>
Message-ID: <Pine.LNX.4.10.10003260615480.3365-100000@darkstar.grendel.net>
MIME-Version: 1.0
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

On Sat, 25 Mar 2000, Damian Yerrick wrote:

> On Sat, 25 Mar 2000 14:29:41 +0100, Giacomo Degli Esposti
> <pad2369 AT iperbole DOT bologna DOT it> 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.


Well you can also try "copy con foo.c" which should dump the contents of
foo.c to the console.


Grendel

Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019