Re: how to expand ~ in a filepath

[email protected] Tue, 22 Jul 2025 14:52:40 +0200
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <[email protected]>
On 22.07.25 14:30, Iustin Pop wrote:
> Gemini/Google AI search even claims that it is part of the POSIX
> standard, I don't know if that's true.

It is.
See 
https://pubs.opengroup.org/onlinepubs/009604499/utilities/xcu_chap02.html#tag_02_06_01 
.

It says that ~ is the current user's home directory, ~blub is the "blub" 
users's home directory, or undefined if no "blub" user exists on the system.
It does not say what should happen if the user is present but does not 
have a home directory assigned.
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.