Re: git: 15a1ba4a1c46 - main - adduser.sh: Add info which separator to use in the question itself
- Reply: Dag-Erling_Smørgrav : "Re: git: 15a1ba4a1c46 - main - adduser.sh: Add info which separator to use in the question itself"
- In reply to: Dag-Erling_Smørgrav : "Re: git: 15a1ba4a1c46 - main - adduser.sh: Add info which separator to use in the question itself"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jun 2026 15:05:48 UTC
Am 23.06.26 um 11:48 schrieb Dag-Erling Smørgrav: > Benedict Reuschling <bcr@freebsd.org> writes: >> Dag-Erling Smørgrav <des@freebsd.org> writes: >>> We could just as easily normalize the separator: >> That's true and would be the "src" way of solving it, rather than the >> "doc" way of describing what to do. >> I've seen instances where people even did "wheel, operator" (extra >> whitespace after the ","). > Yes, and my proposed change handles that transparently. Alright, then let's do that to let the script be a bit more robust and user-friendly at the same time. > >> I think when we actually tell people what to use as the separator, >> then we don't have to account for all kinds of varieties that users >> come up with to separate the groups (semicolons?). > Why not both? We can easily support colons and semicolons as well: > > $ echo "foo, bar:baz; quux" | tr -s ':;,' ' ' > foo bar baz quux Great, I like that. So we remove my addition again or how do we handle it? Benedict