Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Name it Mail instead' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Name it Mail instead
Authored by: osxpez on May 04, '02 08:18:47AM

Great idea! I might try to adapt it so I can use it with Entourage. But I suggest you name your script Mail instead of mail. This will bring less surprise to *nix heads and you don't risk breaking any scripts relying on the mail command (/usr/bin/mail).



[ Reply to This | # ]
oops!
Authored by: osxpez on May 04, '02 08:42:35AM

I just learned something important about OS X!! It seems it's case insensitive also when it comes to command names. This is truly strange. But it leads to that even if you name the script Mail it risks be confused with /usr/bin/mail. Try "which Mail" without having a script of your own called Mail or mail before /usr/bin/mail in the path...

Anyhow, this means you should name the script something else. Try myMail or some such.



[ Reply to This | # ]