diff --git a/sub/bash/functions b/sub/bash/functions index eaa54a5..7864701 100644 --- a/sub/bash/functions +++ b/sub/bash/functions @@ -4,7 +4,7 @@ destroy() { test -n "$1" || return 1 test -e "$1" || return 1 - echo "Sure want to destroy file '$1' with size $(du -hs "$1" | awk '{printf $1}') [y/N] " + echo -n "Sure want to destroy file '$1' with size $(du -hs "$1" | awk '{printf $1}') [y/N] " read -r response [[ $response == [yY] ]] && shred -zun 25 "$1" }