[Bug 1069718] Re: Simple single word grep does not work for the attached file

2012-11-03 Thread Dave Gilbert
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.

Dave

-- 
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 grep does not work for the attached file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1069718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1069718] Re: Simple single word grep does not work for the attached file

2012-10-29 Thread xor
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 grep does not work for the attached file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1069718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1069718] Re: Simple single word grep does not work for the attached file

2012-10-28 Thread Dave Gilbert
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 nul  sp nul   5 nul  sp nul  sp nul   a nul
 63  00  6b  00  20  00  20  00  35  00  20  00  20  00  61  00

So the content is really   T nul r nul a nul c nul k nul
So 'Track' isn't actually present.

** Changed in: grep (Ubuntu)
   Status: New = 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 grep does not work for the attached file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1069718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1069718] Re: Simple single word grep does not work for the attached file

2012-10-22 Thread xor
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.
https://bugs.launchpad.net/bugs/1069718

Title:
  Simple single word grep does not work for the attached file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1069718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs