RE: `pwd' returns a dot

2015-09-16 Thread Le Manh Cuong
When variable PWD changed, the behavior of pwd is unspecified http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pwd.html#tag_20_97_08 -- Mr. LE Manh CuongMobile: +84 1216 181090Skype: manhcuongle> From: 446240...@qq.com > Subject: `pwd' returns a dot > Date: Wed, 16 Sep 2015 15:51:08 +08

RE: "type" may return incorrect information after posix mode is enabled

2015-07-21 Thread Le Manh Cuong
Bash will report error if you define function, which named the same as special builtin commands, in POSIX mode: $ bash --norc --posix$ bash-4.3$ eval() { echo func;}bash: `eval': is a special builtin The problem here is bash doesn't forget those type of functions if they were defined before POSI