>I do not propose to make PWD=/path to do "cd /path". >I merely say that interpreting \w in PS1 as "insert $PWD here" >is more confusing than "insert current dir here".
I see. It is probably that $PWD is generally useful for more than just as a component of PS1. Historically it probably predates use in PS1. (Personally, I don't like putting it in PS1, my PS1 tends to be "$ ".) Also, where would \w come from but a variable of some sort? (Getting the true pwd is/was an expensive exercise.) If a variable, and there already is one namely PWD, why introduce yet another one that can't be (mistakenly) changed by the foolish? Let the foolish shoot themselves, I always say. -- Jim _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
