ghost file

Bo Thide irf at kuling.UUCP
Fri Nov 25 17:08:30 AEST 1988


In article <17625 at adm.BRL.MIL> drl at vuse.vanderbilt.edu (David R. Linn) writes:
[deleted text]
>In UNIX-WIZARDS Digest  V6#021, Jean-Pierre Radley <jpr at dasys1.uucp>
>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 at irfu.se   UUCP: ...!enea!kuling!irfu!bt   IP: 192.36.174.1
 ~~U~~ -----------------------------------------------------------------sm5dfw



More information about the Comp.unix.wizards mailing list