RE: Not sure if a Bug

Erand Mulla <[email protected]> Wed, 11 Dec 2019 18:51:56 +0000
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <BN8PR17MB2770CBC46DC27ABDE80DE7EFA15A0@BN8PR17MB2770.namprd17.prod.outlook.com>
Thanks a lot John!

Best,
Erand

From: John Cowan <[email protected]>
Sent: Wednesday, December 11, 2019 1:35 PM
To: Erand Mulla <[email protected]>
Cc: [email protected]; Freddy Lopez <[email protected]>
Subject: Re: Not sure if a Bug

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]<mailto:[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