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


Click here to return to the 'optimizing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
optimizing
Authored by: stevev on Aug 29, '05 04:20:39PM

actually, you want the single ticks for bash so that $PWD does *not* evaluate in the alias command. by using the double ticks ("), $PWD is evaluated once and not when you are using it later (most likely in a different directory). all of this is said using bash in 10.4 btw.

hope this helps.



[ Reply to This | # ]
quoting
Authored by: sjk on Aug 30, '05 01:23:04AM

D'oh! You're absolutely right. Thanks for that correction.



[ Reply to This | # ]