On Thu, Apr 30, 2020 at 07:34:39PM +0200, Danny Milosavljevic wrote: > UNIX has its warts, and this is a well-known one (use ${HOME} instead). > > If we did expanduser, I'm sure we'd be seeing bug reports about paths where > there was a tilde in the actual file name, NOT as a expanduser mark. > > UNIX tools do what they do, and this wart is here to stay in a lot of tools. > Then at least make it consistent across all the tools UNIX has.
If it's true that this behaviour is more or less consistent in UNIX / POSIX, then I agree with Danny that we should leave it as is. And, I have noticed that ${HOME} is the way to go.