Re: Not sure if a Bug
John Cowan <[email protected]> Wed, 11 Dec 2019 13:34:58 -0500
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <CAD2gp_QCUU7RXwD-wrrx2Ymh=WM6+npevrJbczBOLv-wG7odng@mail.gmail.com> |
It's a UTF-16 file, probably created on Windows, and your locale doesn't use UTF-16 (nobody does). Use this pipeline: iconv -f UTF-16 Unicode.txt | grep 'COL#4' On Wed, Dec 11, 2019 at 1:23 PM Erand Mulla <[email protected]> wrote: > Hello, > > Does grep not work on Unicode files? Please find a sample file attached > for which I could not get grep to work. Not sure if I am missing an option. > > Best reagrds, > Erand Mulla > International Economic Database Manager > Haver Analytics > 60 E 42nd St, 33rd Fl > New York, NY 10165 > Tel: 1-212-986-9300 > >