Waldek Hebisch wrote:
gpc -fexecutable-file-name -x Pascal fooo
happily overwrites input file. I am not sure if we consider this a bug or a feature.
This looks like the one on page 32 of the UNIX-Haters Handbook (http://web.mit.edu/~simsong/www/ugh.pdf), where you accidentally type
% cc -o doit.c doit
instead of
% cc -o doit doit.c
Regards,
Adriaan van Os