www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/16/09:15:09

From: invalid AT erehwon DOT invalid (Graaagh the Mighty)
Newsgroups: comp.os.msdos.djgpp
Subject: Bug in redir.
Organization: Low Charisma Anonymous
Message-ID: <3b2b5a03.169572586@news.primus.ca>
X-Newsreader: Forte Free Agent 1.11/32.235
Lines: 22
Date: Sat, 16 Jun 2001 13:08:46 GMT
NNTP-Posting-Host: 207.176.153.32
X-Complaints-To: news AT primus DOT ca
X-Trace: news1.tor.primus.ca 992678988 207.176.153.32 (Sat, 16 Jun 2001 04:09:48 EDT)
NNTP-Posting-Date: Sat, 16 Jun 2001 04:09:48 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Create something called centers.exe that writes "Hello, world.\n" to
stdout.

Now run each of the following at the prompt in sequence:

redir -o foo.txt -eo centers
redir -o centers.txt -eo centers

The result?

foo.txt:
Hello, world.

centers.txt:
Bad command or filename.


-- 
Bill Gates: "No computer will ever need more than 640K of RAM." -- 1980
"There's nobody getting rich writing software that I know of." -- 1980
"This antitrust thing will blow over." -- 1998
Combine neo, an underscore, and one thousand sixty-one to make my hotmail addy.

- Raw text -


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