embedded '/' in a filename???

John Chambers jc at mit-athena.UUCP
Thu Feb 28 07:13:10 AEST 1985


I agree with the flames; I hope I never have a reason to want to do such
a silly thing.  My question is: how do you rename a file that has a '/'
embedded in its name?

I had to do this once.  It was probably 2 bits flipped on the disk.  I had
to write a C program that went and diddled the specific byte in the file.
I've had similar problems on almost every system I've worked on for more
than a few months.  Sure, file names shouldn't ever contain garbage char-
acters.  So what do you do when one pops up?  

			John Chambers



More information about the Comp.unix mailing list