Daniel Fischer <[email protected]> writes: > Am Sonntag 02 Mai 2010 22:26:43 schrieb Brandon S. Allbery KF8NH: >> On May 2, 2010, at 05:33 , Limestraël wrote: >> > Yes, it's weird, but it works! Thanks. >> >> It's normal, actually. "~" is only understood by the shell, so unless >> the shell is invoked to expand it a program will fail to understand >> it. > > If the default shell is bash and the PATH is set and exported in ~/.bashrc, > it should work with '~' unless the string is quoted, shouldn't it? > bash expands the tildes when the value is assigned to PATH, I think. > That would explain why it's a relatively rare breakage.
bash expands it when you use it within bash, but when it's used within another program this might not be the case (since the PATH is just a String after all). -- Ivan Lazar Miljenovic [email protected] IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
