Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site utcsri.UUCP Path: utzoo!utcsri!greg From: greg@utcsri.UUCP (Gregory Smith) Newsgroups: comp.lang.c,comp.lang.fortran,comp.lang.misc,comp.lang.modula2 Subject: Re: Collecting favorite bug stories Message-ID: <3927@utcsri.UUCP> Date: Thu, 15-Jan-87 11:05:08 EST Article-I.D.: utcsri.3927 Posted: Thu Jan 15 11:05:08 1987 Date-Received: Thu, 15-Jan-87 22:55:12 EST References: <3669@curly.ucla-cs.UCLA.EDU> <2722@udenva.UUCP> Reply-To: greg@utcsri.UUCP (Gregory Smith) Distribution: world Organization: CSRI, University of Toronto Lines: 9 Summary: In article <2722@udenva.UUCP> skajihar@udenva.UUCP ("Lord of Sith" Kajihara) writes: >I had a program that would read from n text files and write to an output file. >The first time that I ran the program, I exceeded the amount of disc quota I >had on the system. > >The problem: in using command-line arguments to identify my files, I had >inadverdently included my output file as input. Result: an endless loop. > Try 'cat * >foo' in a directory not containing foo. [4.2 BSD newcsh]