Path: 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 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 ...