Path: utzoo!attcan!uunet!cs.utexas.edu!helios!tamuts!n138ct From: n138ct@tamuts.tamu.edu (Brent Burton) Newsgroups: comp.unix.wizards Subject: Re: Help! There's a slash '/' in my filename. Summary: maybe, "file/with_slash" (using quotes?) Message-ID: <11714@helios.TAMU.EDU> Date: 1 Feb 91 22:00:00 GMT References: <821@nddsun1.sps.mot.com> Sender: usenet@helios.TAMU.EDU Distribution: comp Organization: Texas A&M University Lines: 23 Thesummary line sez it. I had problems before with mysterious control characters appearing in some file names as I typed them (due to the noisy phone lines). shouldn't something like: rm "slash/file" work OK? The shell takes whatever is in quotes on the input line and passes it straight to the program's argv[n]. If the program uses this string value to manipulate the file, then maybe the string (and of course, the slash) are being passed to the FS manager of the kernel. Would the FS then use the '/' to find the file? --- Or another idea: use 'rm -i *' -- rm asks you before each file whether or not to delete it. DON'T HOLD ME RESPONSIBLE FOR THIS. CHECK YOUR LOCAL MAN PAGES BEFORE DOING THIS! ---- I hope one of these ideas work... +----------------------+--------------------------+ | Brent P. Burton | n138ct@tamuts.tamu.edu | | Texas A&M University | Computer Science/Physics | +----------------------+--------------------------+