Xref: utzoo comp.unix.xenix:5970 comp.unix.questions:13580 comp.unix.wizards:16126 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!pprg.unm.edu!hc!lll-winken!uunet!visdc!jiii From: jiii@visdc.UUCP (John E Van Deusen III) Newsgroups: comp.unix.xenix,comp.unix.questions,comp.unix.wizards Subject: Re: Ugly file name Keywords: rm cat mv regexp Message-ID: <535@visdc.UUCP> Date: 13 May 89 20:07:41 GMT References: <128@tdl.UUCP> <7170@bsu-cs.bsu.edu> <12970@ut-emx.UUCP> Reply-To: jiii@visdc.UUCP (John E Van Deusen III) Distribution: usa Organization: VI Software Development, Boise, Idaho Lines: 18 In article <12970@ut-emx.UUCP> dlnash@ut-emx.UUCP (Donald L. Nash) writes: > > It is the shells, which assign special meanings to certain characters, > which are the root of the problem. I always thought that some > combination of backslashes, single quotes, and double quotes would > convince a shell to allow any character (other than control characters) > in a filename ... When your back is up against the wall, the following construct can be used to replace any argument and will allow you to do anything you want: "`echo '\xxx\xxx\xxx\c'`" where xxx is any octal number. -- John E Van Deusen III, PO Box 9283, Boise, ID 83707, (208) 343-1865 uunet!visdc!jiii