Re: Merging strings?
Re: Merging strings?
- Subject: Re: Merging strings?
- From: Alexey Proskuryakov <email@hidden>
- Date: Fri, 02 Sep 2005 14:43:56 +0400
On 02.09.2005 13:57, "Markus Hitter" <email@hidden> wrote:
>>> cat source1.strings source2.strings | sort | uniq
>>>> result.strings
>>
>> Will this work for UTF-16 (AFAIK, .strings are recommended to be
>> such)?
>
> A quick test (taking a random, Apple provided .strings file,
> converting it to UTF-16 in Xcode and sorting it at the CLI) worked.
> The resulting file remains to be UTF-16 encoded. The answer should be
> "yes".
Interesting... My quick test showed that cat | sort | uniq filtered out
all characters with zero first bytes, and 0430003100320033000a (hex bytes)
became 0430. This happened regardless of BOM presence.
It would be interesting to know what could make cat change its operation
that much.
- WBR, Alexey Proskuryakov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden