Hi xor,
Yes I suspected it was UTF-16, I don't know much about tools that deal with
UTF-16 stuff, certainly haven't come across grep like things that do. There
are suggestions on sites to try using iconv to convert your data 1st.
But, as I say, I wouldn't expect grep to deal with UTF-16.
Thank you. That's because the file is UTF-16.
If grep should be able to handle UTF-16 then the issue is not invalid.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1069718
Title:
Simple single word
Hi Xor,
grep is actually correct in this case, if you look at the contents of the
file byte-by-byte, it's actually got:
0001060 v nul 2 nul ) nul cr nul nl nul T nul r nul a nul
76 00 32 00 29 00 0d 00 0a 00 54 00 72 00 61 00
0001100 c nul k nul sp
The file for which the grep expression does not work
** Attachment added: test.log
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1069718/+attachment/3408601/+files/test.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.