ugh.book

(singke) #1

32 Welcome, New User!


% cc -o doit.c doit

instead of:

% cc -o doit doit.c

Needless to say I have lost doit.c

Is there anyway I can get it back? (It has been extensively modified
since this morning).

:-(

Other programs show similar behavior:
From: Daniel Weise <[email protected]>
To: UNIX-HATERS
Date: Thu, 1 July 1993 09:10:50 -0700
Subject: tarred and feathered

So, after several attempts, I finally manage to get this 3.2MB file
ftp’d through a flaky link from Europe. Time to untar it.

I type:

% tar -cf thesis.tar

...and get no response.

Whoops.

Is that a “c” rather than an “x”?
Ye s.

Did tar give an error message because no files were specified?
No.

Did tar even notice a problem?
No.

Did tar really tar up no files at all?
Ye s.

Did tar overwrite the tar file with garbage?
Of course, this is Unix.
Free download pdf