I'm probably being really thick, but what's going on here? set | grep -i grep $ which grep /usr/gnu/bin/grep $ echo foo | grep '[A-Z]' foo I get the expected behaviour on linux boxes with GNU grep. Thanks, Richard -- Richard Jones +44 7843 588 599 "Quod gratis asseritur, gratis negatur" Privacy notice: jonze.com/privacy.html