Path: utzoo!censor!geac!torsqnt!hybrid!scifi!bywater!uunet!bria!mike Newsgroups: comp.unix.wizards Subject: Re: Help! There's a slash '/' in my filename. Message-ID: <413@bria> Date: 2 Feb 91 18:23:26 GMT References: <821@nddsun1.sps.mot.com> <11714@helios.TAMU.EDU> Reply-To: uunet!bria!mike (Michael Stefanik) Distribution: comp Organization: Briareus Corporation, Los Angeles, CA Lines: 17 In an article, tamuts.tamu.edu!n138ct (Brent Burton) writes: >shouldn't something like: rm "slash/file" >work OK? [ ... ] No, this won't work. The kernel does the translation of pathname to inode, and the slash is considered a inviolate holy relic. The shell has nothing to do with this translation, so escaping, quoting, etc. won't accomplish anything. A slash in a filename means a corrupted filesytem, and fsck should be run (my flavor of fsck will complain about "illegal pathname chars" and will replace them with hash-marks). -- Michael Stefanik | Opinions stated are not even my own. Systems Engineer, Briareus Corporation | UUCP: ...!uunet!bria!mike ------------------------------------------------------------------------------- technoignorami (tek'no-ig'no-ram`i) a group of individuals that are constantly found to be saying things like "Well, it works on my DOS machine ..."