Re: hash not restored after running command -p

2021-10-31 Thread Roger Morris
cd tmp ; date ; cd .. MY LOCAL tmp/date SCRIPT $ $ PATH=.:/bin $ command -p date Sun 31 Oct 2021 11:59:50 AM EDT $ hash -l builtin hash -p /bin/date date $ cd tmp ; date ; cd .. Sun 31 Oct 2021 12:00:03 PM EDT $ On Sat, Oct 30, 2021 at 1:53 PM Chet Ramey wrote: > > On 10/29/21 6:06 PM, Rog

hash not restored after running command -p

2021-10-29 Thread Roger Morris
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-a6qmCk/bash-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -Wno-format-security uname out