Benedict Reuschling <[email protected]> writes:
> Dag-Erling Smørgrav <[email protected]> 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.
> 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
DES
--
Dag-Erling Smørgrav - [email protected]