[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
say if grep can find non-ascii
From: |
Dan Jacobson |
Subject: |
say if grep can find non-ascii |
Date: |
Sat, 25 Feb 2006 07:37:29 +0800 |
The grep manual page should say how to do
$ perl -nwe 'print if /[^[:ascii:]]/'
but with grep. Or say if there's no way.
Never mind this:
$ grep -P '[^[:ascii:]]'
grep: The -P option is not supported
C> address@hidden is probably the right place to ask.
Well I was just doing as the man page on Debian sid said.
- say if grep can find non-ascii,
Dan Jacobson <=