[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] recursive dir script



Gilbert Rankin <gilbert@netcom.com> wrote:

>I don't think that it is.  It is possible to use a disk editor to rename a
>file to ascii NULL, 0x00, and the file will appear to have no name.  Maybe
>that's what has been done to the file you encountered.  If so I wonder
>why...

I found a similar file in my clip2gif folder. I reinstalled from the
distributed .sit file and it reappeared. This also fooled my recursive
directory searching script. I copied what appeared in the MacPerl output
window as a string of colons ("::::") to a BBEdit window with a different
font, which revealed it to be a string of colons separated by NULLs
(":%:%:%:", where % is a little NU character).

I've put a cludge in my script that ignores names with anything other than
alpha-numeric and whitespace characters, but I'd welcome a better solution.

Jim Easterbrook                         <jim.easterbrook@rd.bbc.co.uk>
----------------------------------------------------------------------
PGP Key fingerprint = F4 2C 5C 6B EF 5D 42 25  2A 0B 62 53 60 60 AC 8B