X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=eva3tbSV+VrJmr2a
	I3EvE5l8CLtQ3SWUkR0A90RqeXbTjG/m5CV2JwD1YY+H95lgQKJnb7zQ/ut5HLUC
	kMHj4V1vgUWXVdUp62uEVyq2NiRfokbjspmrT0qKvNCxsSVaO4G9Dh1atAlRkmve
	zrHLggow4xqN72shkVjJ78Oc8nk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=szeo48AHFNaENrev5BeRwk
	Fb8+A=; b=ciqhYVy9utOtV16C3NYaMZ0kM8Nb6HQq+BobjS9Eq2lKgQBwyDNxWX
	wXD1XgO05zOyiceeraHXRVDtZz+74tY6fRaRQuM3t7KkK5tPnaqTdNShCU4yY70e
	4UJTzc5VrDbymMZI3tAdfPOGX/RyWqLgo3BAhhcw6WF2VnG6cI/OM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=ruby, Should, penny, canada
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.3 cv=SJtsqtnH c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=mImNz6IZvFVNuIBMk4oA:9 a=QEXdDO2ut3YA:10
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Subject: Re: Date field of ls -l command is garbled in latest cygwin1.dll snapshot.
To: cygwin@cygwin.com
References: <f94533e8-8e21-d9a9-15f1-4fdd97fec98a@towo.net> <5b2f8e4d.1c69fb81.337a7.2c6e@mx.google.com>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Openpgp: preference=signencrypt
Message-ID: <687e050a-ae43-fdc0-81ae-2706bb6c417a@SystematicSw.ab.ca>
Date: Sun, 24 Jun 2018 07:38:24 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <5b2f8e4d.1c69fb81.337a7.2c6e@mx.google.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfPkR2CQMydMNmX19aZm5RS6NW8acjQRaVm5syTstseIQ2mxbY6p1ObFKjVHQZ/QfRJoordB3mKt9kCJ8nil9jCHTHnXlCTsey746K/PFSRBVGJQd3wAQ hF45MO8W3rT9Gxmd1J2zuWty1G34Jv1mYFEvuwX/m7/cPQUAbHNytVPhIzK9ipkM9QDEoS2xjUqyKw==
X-IsSubscribed: yes

On 2018-06-24 06:27, Steven Penny wrote:
> On Sun, 24 Jun 2018 00:32:59, Thomas Wolff wrote:
>> Why not awk? Because I am not familiar with awk.

Suggestion was awk having suitable capabilities, but perl, python, ruby, or any
other would do.

> Should be a simple script, something like this:
> $ awk -F ';' '{printf "{CAT_%s, 0x%s, %d},\n", $3, $1, $4}' UnicodeData.txt
> {CAT_Lo, 0x3400, 0},
> {CAT_Lo, 0x4DB5, 0},
> {CAT_Lo, 0x4E00, 0},
> {CAT_Lo, 0x9FEF, 0},

A little bit more complex to roll up category ranges, and handle
<... {Fir,La}st> ranges.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

