Web lists-archives.com

Re: Date field of ls -l command is garbled in latest cygwin1.dll snapshot.




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