Search squid archive

Re: How to ignore query terms for store key?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tis 2010-09-07 klockan 18:59 -0700 skrev Guy Bashkansky:

> /usr/local/squid/bin/strip-query.pl
>     #!/usr/local/bin/perl -Tw
>     $| = 1; while(<>) { chomp; s/\?\S*//; print; } ### my strip query test

If you chomp the newline then you need to add it back when printing the
result.

Regards
Henrik



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux