Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Regular Expression problems with long-filenames
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regular Expression problems with long-filenames



Mike,

On Fri, 3 Mar 2006 23:58:39 +0100, Mike Fischer wrote
> My MPW days are long gone.
> I've moved on. But the MPW Editor and IDE are still interesting
> enough for me to subscribe to this mailing list ;-)

I've tried moving on a couple of times, but MPW remains a comfortable place for me. One of these
days I'll really have to learn bash scripting, but it probably won't be until I get one of the Intel Macs
and can no longer run MPW.

> How about writing an MPW tool to extract the long filename? You
> probably need to do some juggling with getting the right headers and
>  libraries for accessing the HFS+ APIs but that should be doable
> using  a separate piece of code loaded into the tool at runtime.
> You'd also  need to invent a method for representing arbitrary
> Unicode characters  as MPW is not Unicode aware to my knowledge.
>
> Once you have the long filename (even if it uses some escaped
> characters) you can compare it to another one obtained by the same
> method.

Thanks for your ideas and for your willingness to help. Eventually I would like to write some kind of
tool to replace both the built-in backup and equal commands, but that will have to wait. The script
should work in the meantime.

Bill



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
MPW-Dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Regular Expression problems with long-filenames (From: Mike Fischer <email@hidden>)
 >Re: Regular Expression problems with long-filenames (From: "Bill Peters" <email@hidden>)
 >Re: Regular Expression problems with long-filenames (From: Mike Fischer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.