Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!spf From: spf@clyde.UUCP Newsgroups: comp.unix.questions,comp.unix.wizards,comp.unix.xenix Subject: Re: Confused file name in directory Message-ID: <6977@clyde.ATT.COM> Date: Fri, 27-Feb-87 15:04:27 EST Article-I.D.: clyde.6977 Posted: Fri Feb 27 15:04:27 1987 Date-Received: Sun, 1-Mar-87 09:02:03 EST References: <105@aob.UUCP> <563@aw.sei.cmu.edu.sei.cmu.edu> <5587@mimsy.UUCP> Sender: nuucp@clyde.ATT.COM Reply-To: spf@bonnie.UUCP (Steve Frysinger) Organization: AT&T Bell Laboratories, Whippany NJ Lines: 12 Xref: utgpu comp.unix.questions:1211 comp.unix.wizards:1159 comp.unix.xenix:127 In article <5587@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: >In article <105@aob.UUCP> someone finds a directory entry with an >embedded NUL, and has nothing handy to fix it. I have a public-domain c program call rmfile which is interactive and lets you either delete or rename files (including those with garbage characters in their names). I've never paid attention to how it works, but I've used it and it DOES work. It's about 246 lines of c source, and compiled on my PC6300 under XENIX V with no trouble. If there's interest, I'll post it to comp.sources or something. Let me know if you want it. Steve