I ended up using "unzip -a" and now everything is happy! Thanks so much for your advice.
Thanks, Peter
On Mar 9, 2004, at 10:43 PM, Peter Spam wrote:
On Mar 9, 2004, at 7:50 PM, Greg Parker wrote:
Greg Parker writes:Try converting the Handspring headers to Unix line endings using CodeWarrior or BBEdit or maybe Xcode. Or you can use < old-file tr '\r' '\n' > new-file in the shell. (Note that the shell command will erase your file if "old-file" and "new-file" are the same file.)
Oops, sorry. That shell command will convert Mac line endings to Unix line endings, which is probably not what you want. Use this instead (on the original files): < old-file tr -d '\r' > new-file ...which will convert DOS to Unix line endings.
Nope, I don't think that was it:
(4) G4 10:41pm Treo600/Common/System> mv HsAppLaunchCmd.h HsAppLaunchCmd.h_
(5) G4 10:42pm Treo600/Common/System> cat HsAppLaunchCmd.h_ | tr -d '\r' > HsAppLaunchCmd.h
(6) G4 10:42pm Treo600/Common/System> diff HsAppLaunchCmd.h HsAppLaunchCmd.h_
(7) G4 10:42pm Treo600/Common/System>
Thanks, Peter
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
