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


Click here to return to the 'Quick Update...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Quick Update...
Authored by: discordantus on Jan 21, '05 08:21:03PM

If we're eliminating verbiage, some happy shell globbing can tame that long pathname, too:

/System/L*/F*/Screen*/**/ScreenSaverEngine

expands to:

/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine

We could get it shorter, but I think this balances performance/error control/length pretty well.



[ Reply to This | # ]
Quick Update...
Authored by: alblue on Mar 02, '05 04:04:57AM

I'm pretty sure that the ** glob isn't a Bash-ism. You have to use single * characters.

Pity though, because ** is really handy in Ant/Maven scripts :-)



[ Reply to This | # ]