--- /usr/bin/eread 2007-08-24 08:40:28.000000000 +0200 +++ ./eread 2007-08-24 08:49:25.000000000 +0200 @@ -49,6 +49,10 @@ break ;; *) + if [ ! -f ${FILE} ]; then + echo "${FILE} does not exist" + break + fi ${PAGER} ${FILE} read -p "Delete file? [y/N] " DELETE case ${DELETE} in