Path: utzoo!mnetor!uunet!ncc!alberta!access!edm!rroot From: rroot@edm.UUCP (uucp) Newsgroups: comp.unix.wizards Subject: Re: an rm question Message-ID: <262@edm.UUCP> Date: 19 Apr 88 04:57:27 GMT References: <10431@steinmetz.ge.com> Organization: Unexsys Systems, Edmonton,AB. Lines: 28 From article <10431@steinmetz.ge.com>, by davidsen@steinmetz.ge.com (William E. Davidsen Jr): > One of the nice things about Korn shell is the 8 bit capability. I can .... ] mkdir expendable ] cd expendable ] date > .x ] ls -la # show .x ] rm * # delete 'everything' ] ls -la # .x still there ] cd .. ] rm -r expendable # now the file goes away The easy way to get rid of .x is to name it explicitly.. rm .x rm .? will also work, but it will complain about .. being a directory, but if the file were .xx , then rm .??* would get it (or anything longer, for that matter) for getting rid of REALLY random names (like with the 8th bit set) try:' rm -ir . It will at least ask you if you really want to eat the file. (don't use "rm -[i]r .. or .?, since it may try to eat stuff out of your parent directory...) -- ------------- Stephen Samuel {ihnp4,ubc-vision,vax135}!alberta!edm!steve or userzxcv@uqv-mts.bitnet