bug-bash
[Top][All Lists]
Advanced

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

Re: Unicode range and enumeration support.


From: Robert Elz
Subject: Re: Unicode range and enumeration support.
Date: Tue, 24 Dec 2019 21:21:22 +0700

    Date:        Tue, 24 Dec 2019 00:47:40 -0500
    From:        Eli Schwartz <eschwartz@archlinux.org>
    Message-ID:  <217b4a75-b79e-dc2a-a2b2-cc5133d7cbef@archlinux.org>

  | What is "recent" about sort -u? I can find it listed as a mandatory
  | option in the POSIX 2004 manual.

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.]

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).

kre




reply via email to

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