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