Article View: comp.sources.bugs
Article #56Re: Bug in csh (history, "!a%100s"). Report and Fix.
From: C. Harald Koch
Date: Wed, 05 Jul 1989 14:19
Date: Wed, 05 Jul 1989 14:19
17 lines
1070 bytes
1070 bytes
In article <113630@sun.Eng.Sun.COM> island!argv@sun.com (Dan Heller) writes:
>Why are people so stuck on using printf?
Because everybody's first C program, taken from K&R, is:
main()
{
printf("Hello, World!\n");
}
From step one, we are taught to use it for everything.
--
C. Harald Koch NTT Systems, Inc., Toronto, Ontario
chk@gpu.utcs.utoronto.ca, chk@dretor.dciem.dnd.ca, chk@chkent.UUCP
University: Like a software house, except the software's free, and it's usable,
and it works, and if it breaks they'll quickly tell you how to fix it, and ...
Technical Details
Message-ID:
<1900@dciem.dciem.dnd.ca>Path:
arc1-ca.pugleaf.net!utzoo!dciem!chkReferences:
<113630@sun.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!dciem!chk From: chk@dciem.dciem.dnd.ca (C. Harald Koch) Newsgroups: comp.sources.bugs Subject: Re: Bug in csh (history, "!a%100s"). Report and Fix. Summary: Bad K&R! Bad! Keywords: misuse printf bug Message-ID: <1900@dciem.dciem.dnd.ca> Date: 5 Jul 89 14:19:37 GMT References: <113630@sun.Eng.Sun.COM> Reply-To: chk@dretor.dciem.dnd.ca (C. Harald Koch) Followup-To: /dev/null Organization: NTT Systems, Inc., Toronto, Canada Lines: 17