1

I was doing homework on a remote server, and I realized that I had my header and cpp files swapped. So, I wanted to change the names. I began by renaming my header file 'temp'.

Then, weird things started happening. First, header file, named "temp", disappeared. The old header, named someFile.cpp, became empty. Also, my brackets started showing up as weird lowercase å characters.

Is this an issue with VI? My machine? Is there is a way to correct the situation?

Edit:

My machine was running Mac OS X, the remote machine was running some other Unix or Linux variant. I think it was Red Hat or Debian.

I used mv to rename the file.

Moshe
  • 739

1 Answers1

3

POSIX does not define any reserved filenames as far as I am aware. Certainly I can't think of any systems that have temp as a reserved filename, even outside of POSIX. As for brackets, it's more likely that your encodings don't match between the client and server (or the encoding doesn't support the character that you are trying to use).

Chris Down
  • 125,559
  • 25
  • 270
  • 266