Collecting favorite bug stories

Gregory Smith greg at utcsri.UUCP
Fri Jan 16 02:05:08 AEST 1987


In article <2722 at udenva.UUCP> skajihar at 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]



More information about the Comp.lang.c mailing list