Re: 'cd' if HOME is unset

2022-12-24 Thread Robert Elz
Date:Sat, 24 Dec 2022 22:32:22 -0500 From:Jan Schaumann Message-ID: | I happily admit that it's a rare edge case. I simply | find it surprising that 'cd' gives up if HOME is | unset. Seems unintuitive to me. It is how it is defined to work, and always has bee

Re: 'cd' if HOME is unset

2022-12-24 Thread Jan Schaumann
Robert Elz wrote: > Why bother? I happily admit that it's a rare edge case. I simply find it surprising that 'cd' gives up if HOME is unset. Seems unintuitive to me. -Jan

Re: 'cd' if HOME is unset

2022-12-24 Thread Robert Elz
Why bother?It is already clear that one cannot depend upon this working, and nothing normally should ever have HOME unset, unless that is done deliberately (perhaps even to prevent a simple "cd" from going there). kre

Re: 'cd' if HOME is unset

2022-12-24 Thread Jan Schaumann
Jan Schaumann wrote: > "A common extension when HOME is undefined is to get > the login directory from the user database for the > invoking user. This does not occur on System V > implementations." > > I'm surprised that /bin/sh does not use the user's > home directory from getpwuid() in that ca

Re: NetBSD-10.0_BETA: clock: unknown CMOS layout

2022-12-24 Thread Robert Elz
Date:Fri, 23 Dec 2022 10:20:27 - (UTC) From:mlel...@serpens.de (Michael van Elst) Message-ID: | The message says that no century information is found in the CMOS RAM, | the hardware clock itself seems to keep only 2 year digits. The century | is then deduced