trying to match non ascii chars

2011-06-17 Thread Chris Knipe
Hi, I have bit of problem with transparent squid service. When people tries to send binary data through squid, the log files naturally doesn't like it very much. A sample of such an log file entry: 1308293915.456 0 client.host.name NONE/400 3660

Re: trying to match non ascii chars

2011-06-17 Thread Shawn H Corey
On 11-06-17 12:01 PM, Chris Knipe wrote: Does anyone perhaps have some insight for me? Try: while( ){ next if /[^\000-\177]/; print; } -- Just my 0.0002 million dollars worth, Shawn Confusion is the first step of understanding. Programming is as much about organization and

Re: trying to match non ascii chars

2011-06-17 Thread John W. Krahn
Chris Knipe wrote: Hi, Hello, I have bit of problem with transparent squid service. When people tries to send binary data through squid, the log files naturally doesn't like it very much. A sample of such an log file entry: 1308293915.456 0 client.host.name NONE/400 3660