www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/05/14:25:37

From: jkeene AT unlinfo DOT unl DOT edu (Jon Keene)
Subject: reading '\t' in files
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Thu, 5 Jan 1995 12:16:15 -0600 (CST)

Hello,
   I'm new to DJGPP, but pretty impressed.  I have a question:
I've written a program that reads from stdin, counts blanks, tabs and 
newlines, and outputs those numbers.  When I run it on input from the
keyboard it works correctly, but when I redirect input from a file the
number of tabs always comes out zero.  Is this some peculiarity of
DJGPP? Or DOS text files?

Cordially,
Jon Keene
-- 

- Raw text -


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