Hi, grep fails to parse the tilde (~) to represent $HOME, when it is used to give a file's path to --file=, but it works with --file
% echo "a" > ~/tmp-pattern % echo "hola" | LANG=C grep --file=/home/santiago/tmp-pattern hola % echo "hola" | LANG=C grep --file /home/santiago/tmp-pattern hola % echo "hola" | LANG=C grep --file ~/tmp-pattern hola % echo "hola" | LANG=C grep --file=${HOME}/tmp-pattern hola % echo "hola" | LANG=C grep --file=~/tmp-pattern grep: ~/tmp-pattern: No such file or directory This was filed in debian: https://bugs.debian.org/504804 Cheers, Santiago