John McKown wrote:
Not replying for Chet, who will have the definitive answer, I will say that I, personally, think that is working as designed. ~ 0 (with space between) is definitely the "not" operator. But without the middle space, ~0, where there is a white space character in front of the tilde, looks to me like the normal "get the home directory for the following id" .
Does ~ get home dirs for UID's? I thought it only worked for usernames? I would think that allowing user names that were all numeric would be confusing for software that accept either UID's or usernames. Can usernames even begin with a number?