Package: bash Version: 4.1-3 If I run
alias grep="grep "
echo bash | grep bash
then grep doesn't show "bash".
echo xxxx | grep xxxx
works.
Please note the space in the alias. The real
life code was
# uncomment to enable color
# color="--color=auto"
alias grep="grep $color"
Platform is Squeeze on amd64.
Regards
Harri
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

