> Sorry, I was being foolish: There were other files ack was searching and 
> croaking on. Against just one file of the right encoding your trick works 
> perfectly.

Ah yes with either the UTF-8 SAD or the general case Unicode injection
hacks, the list of files to search must be uniformly encoded --
whether list implicit (segregated by directory) or explicit (filtered
and list fed e.g. via xargs or $(cmd)).

(Which is the advantage to adding a BOM-detector option. I don't know
if i can pull off a full fait-accompli on that,  as the impact to the
test suite would add complication elsewhere. )

-- 
Bill Ricker
[email protected]
https://www.linkedin.com/in/n1vux

-- 
You received this message because you are subscribed to the Google Groups "ack 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ack-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to