[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not operator (~) fail on arithmetic expansion.

From: Eric Blake
Subject: Re: Not operator (~) fail on arithmetic expansion.
Date: Mon, 28 Nov 2016 11:06:06 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 11/27/2016 11:54 PM, L A Walsh wrote:
> 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?

Sadly, yes. In fact, username '0' need not have uid '0'.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]