[Konsole-devel] [Bug 242114] Konsole resolves symlinks for initial path, should mimic CD/PWD behavior

Danny Daemonic DannyDaemonic at gmail.com
Sun Oct 2 01:01:58 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=242114





--- Comment #20 from Danny Daemonic <DannyDaemonic gmail com>  2011-10-02 01:01:58 ---
I'm glad you approve.  I installed and tested tclsh and you're right about that
one, but sh works for me.

For Debian and Ubuntu, sh is a symlink to dash. Some distros such as Gentoo
symlink sh to bash.  I'm surprised your sh doesn't point to one or the other.
I'm pretty sure not following this rule will break sh scripts which expect
symlink paths to be preserved.  If you want the actual physical path in a POSIX
sh shell you are suppose to use `pwd -P`:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pwd.html

Mind if I ask what your system runs as sh and what distro you are using?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list