Pankaj K
Pankaj K

Reputation: 351

Find files with accented characters unix

I have some files with french characters (accents like ÂÃÄÀÁÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ).

I am using grep for invidual character. Is there any easy way to find such files ?

Upvotes: 2

Views: 3230

Answers (1)

Zombo
Zombo

Reputation: 1

grep '[^[:print:]]' FILE

Same as

[\x20-\x7E]

Upvotes: 4

Related Questions