diff --git a/cawk b/cawk index 89fa72b..796ea31 100755 --- a/cawk +++ b/cawk @@ -115,6 +115,6 @@ if [[ -t 0 ]];then repl $PRECISION else while read; do - calc "$REPLY" $PRECISION + [[ $REPLY ]] && calc "$REPLY" $PRECISION done fi