[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode range and enumeration support.
From: |
Eli Schwartz |
Subject: |
Re: Unicode range and enumeration support. |
Date: |
Tue, 24 Dec 2019 12:16:41 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 |
On 12/24/19 9:21 AM, Robert Elz wrote:
> The -u option appaeared in 7th edition Bell Labs Unix (1979) [I would
> assume it was actually implemented somewhat earlier, that's when 7th
> edition was released to the rest of the world.]
Thanks, the POSIX 2004 manual is just the earliest standard I can easily
track down (via pubs.opengroup.org) so I know it's "at least" that old. :D
> Also note that sort -u and sort | uniq are not quite the same, the -u
> option only considers the key fields when deciding which records (lines)
> are unique (of course, with no key options, the whole line is the key,
> in which case they are more or less the same).
Hmm, is that "more or less" the same, or actually the same? Seems like
it would be actually the same... in which case I'd rephrase it to say
"sort -u can do things that uniq can't, because it takes an optional key
modifier". (uniq does have -s / -f which is sort of kind of partially
approaching the same thing, but eh, doesn't really count.)
--
Eli Schwartz
Arch Linux Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature
- Re: Unicode range and enumeration support., (continued)
- Re: Unicode range and enumeration support., L A Walsh, 2019/12/20
- Re: Unicode range and enumeration support., Eli Schwartz, 2019/12/22
- Re: Unicode range and enumeration support., L A Walsh, 2019/12/23
- Re: Unicode range and enumeration support., Greg Wooledge, 2019/12/23
- Re: Unicode range and enumeration support., L A Walsh, 2019/12/24
- Re: Unicode range and enumeration support., Eli Schwartz, 2019/12/24
- Re: Unicode range and enumeration support., Robert Elz, 2019/12/24
- Re: Unicode range and enumeration support.,
Eli Schwartz <=
- Re: Unicode range and enumeration support., Stephane Chazelas, 2019/12/25
- Re: Unicode range and enumeration support., Robert Elz, 2019/12/24
- Re: Unicode range and enumeration support., Greg Wooledge, 2019/12/23
- Re: Unicode range and enumeration support., L A Walsh, 2019/12/23
- Re: unquoted expansion not working (was Re: Not missing, but very hard to see), Robert Elz, 2019/12/14
- Re: unquoted expansion not working (was Re: Not missing, but very hard to see), L A Walsh, 2019/12/15
- Re: Not missing, but very hard to see (was Re: Backslash missing in brace expansion), Chet Ramey, 2019/12/13
Re: Backslash missing in brace expansion, Robert Elz, 2019/12/06