Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15777

Re: Unicode range and enumeration support.

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Eli Schwartz <eschwartz@archlinux.org>
Newsgroups gnu.bash.bug
Subject Re: Unicode range and enumeration support.
Date Tue, 24 Dec 2019 12:16:41 -0500
Lines 73
Approved bug-bash@gnu.org
Message-ID <mailman.1376.1577207821.1979.bug-bash@gnu.org> (permalink)
References <217b4a75-b79e-dc2a-a2b2-cc5133d7cbef@archlinux.org> <0ff3a920-94c2-b0c9-5631-0964955657aa@archlinux.org> <5DF3D78B.4090208@tlinx.org> <20191213184213.GO851@eeg.ccf.org> <5DF4BDF0.6000402@tlinx.org> <20191216163906.GV851@eeg.ccf.org> <5DFA7AE2.2060504@tlinx.org> <20191218194651.GH851@eeg.ccf.org> <5DFD68B9.3050202@tlinx.org> <2334eff4-8a88-18ee-b086-4ba4e80af01b@archlinux.org> <5E0128F0.5000901@tlinx.org> <20191223205826.GY851@eeg.ccf.org> <5E01A380.8000706@tlinx.org> <16043.1577197282@jinx.noi.kre.to> <e61cbdf3-891e-41ac-70af-03e9b5401983@archlinux.org>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="h14O0te8K0LYe5O2IIgiI1LsrErF5nTCo"
X-Trace usenet.stanford.edu 1577207822 14977 209.51.188.17 (24 Dec 2019 17:17:02 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org
To Robert Elz <kre@munnari.OZ.AU>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=orion; t=1577207805; bh=a5kZPv/vQynh2ik6w0FOVvxuA1W7faOXKqYqdAgi27M=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=NoC+X0DK15caDynpHWjp9OhnulreKcfLRR1rpnYUGDhE0y9Xu5vZt2kANdKuwqLHE JV8rBdvX14zMhqAXBk9sPfRk+5dNTcZ4V6kJJS9r4AF6aiP993htn6tPGWgwLKPZwi W8/zlpiTsTDYqzvJiBkbj7W8rxI+gRGIbe2yhSMuABU9IejnXwng+XQ2c10U9BrEFe qGqJ9kWNHhOSdGYv8tMrUrYT0bS8h2mbrF0hfFLREBvmHv7HsfxezYHprQomBANlPR IgQ989PzOrZIg/31RV6XOIhFK3ovyaM3mtG6pld04ANKGmOKD5WHDl2itovdAcd/K5 WviWoPr8bJKdYpS8ZfrqRxVqmKTYL8+sF6RuXNZtPLHCcUWf2ciOPrtsHqgZ/UEGr5 CwqTNke7BlVAuk3BEdE65ZSiSGuFyPeLw0CJi1AYO+udNF47S2krv4vpQ7Aqh4/nk2 p+A7Vp3xSErcxRzgakt+E7ioOwHr2A/6bjURKPUHdCc+5K3DlXpArvstsQmEkulHWz 2bTbJYJSCmiSE0VWK6tVnZX9iBT/3P60bElyoFIweYE2xt6RakuN5/xw2YmKS6KGZp dZ7+3kc81zuLSFz/RfltdEZzFQzn9XV+kx4tFDxQ9Mv6u9BH51c/5jQfEmBsTWBD0F MvwdT8us+Ar3OrReUlz3UHvs=
X-Clacks-Overhead GNU Terry Pratchett
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0
In-Reply-To <16043.1577197282@jinx.noi.kre.to>
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2a01:4f8:160:6087::1
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <e61cbdf3-891e-41ac-70af-03e9b5401983@archlinux.org>
X-Mailman-Original-References <217b4a75-b79e-dc2a-a2b2-cc5133d7cbef@archlinux.org> <0ff3a920-94c2-b0c9-5631-0964955657aa@archlinux.org> <5DF3D78B.4090208@tlinx.org> <20191213184213.GO851@eeg.ccf.org> <5DF4BDF0.6000402@tlinx.org> <20191216163906.GV851@eeg.ccf.org> <5DFA7AE2.2060504@tlinx.org> <20191218194651.GH851@eeg.ccf.org> <5DFD68B9.3050202@tlinx.org> <2334eff4-8a88-18ee-b086-4ba4e80af01b@archlinux.org> <5E0128F0.5000901@tlinx.org> <20191223205826.GY851@eeg.ccf.org> <5E01A380.8000706@tlinx.org> <16043.1577197282@jinx.noi.kre.to>
Xref csiph.com gnu.bash.bug:15777

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Unicode range and enumeration support. Eli Schwartz <eschwartz@archlinux.org> - 2019-12-24 12:16 -0500

csiph-web