Path: utzoo!utgpu!watmath!clyde!att!rutgers!deimos!uxc!uwmcsd1!marque!uunet!mcvax!enea!kuling!irf From: irf@kuling.UUCP (Bo Thide) Newsgroups: comp.unix.wizards Subject: Re: ghost file Message-ID: <903@kuling.UUCP> Date: 25 Nov 88 07:08:30 GMT References: <17625@adm.BRL.MIL> Reply-To: irf@kuling.UUCP (Bo Thide) Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 33 In article <17625@adm.BRL.MIL> drl@vuse.vanderbilt.edu (David R. Linn) writes: [deleted text] >In UNIX-WIZARDS Digest V6#021, Jean-Pierre Radley>writes: >>It may be so screwed up that the "*" metacharacter won't expand into such >>a bad name (and if the name starts with ".", then the "*" also won't >>help). > >[deleted text] >mistakenly created files with a "\213\316#\317" (C-escapes apply) prefix. >In this case, "rm -i *" will *NOT* work. > >The Bourne shell uses the 8th bit of characters for special purposes >and so botches the expansion of wildcards that produce filenames that >already have the 8th bit set. For this reason, you want to avoid >[deleted text] In HP-UX with its Native Language Support (NLS), file names can have 7, 8 or 16 bit names. So "\213" is an allowed file name character, the 8th bit doesn't have a special meaning and "rm -i *" *WILL* work. This is an added bonus in addition to the other nice properties of a UNIX that is fully customizable in your own local language and "culture". The same should be true for any other UNIX supporting NLS (SysV.3?). -Bo ^ Bo Thide'-------------------------------------------------------------- | | Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden |I| [In Swedish: Institutet f|r RymdFysik, Uppsalaavdelningen (IRFU)] |R| Phone: (+46) 18-403000. Telex: 76036 (IRFUPP S). Fax: (+46) 18-403100 /|F|\ INTERNET: bt@irfu.se UUCP: ...!enea!kuling!irfu!bt IP: 192.36.174.1 ~~U~~ -----------------------------------------------------------------sm5dfw