Re: Merging strings?
Re: Merging strings?
- Subject: Re: Merging strings?
- From: Alexey Proskuryakov <email@hidden>
- Date: Fri, 02 Sep 2005 16:59:37 +0400
On 02.09.2005 16:48, "Markus Hitter" <email@hidden> wrote:
> It's the "uniq" command[1]
Indeed, I was only assuming that it was "cat" (seemed like a more likely
candidate). Thank you for checking!
> Nobile:~$ cat /tmp/Localizable.strings | sort | uniq >/tmp/test.strings
> Nobile:~$ hexdump /tmp/test.strings | head -3
> 0000000 feff
> 0000002
> Nobile:~$ cat /tmp/Localizable.strings | sort >/tmp/test.strings
> Nobile:~$ hexdump /tmp/test.strings | head -3
> 0000000 000a 000a 000a 002f 002a 0020 006b 0065
> 0000010 0079 0073 0020 002a 002f 000a 002f 002a
> 0000020 0020 0076 0061 006c 0075 0065 0073 0020
Please note how the BOM (feff) moved to the end of the file :)
- 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