Commit Diff


commit - 130b6108bcaff66e00134f8a621479a049c9ac87
commit + 13d38307767584645628f35e11e4168cf006e816
blob - a65a6e6d8d731b11faefe7c4fc14bd69a1aca5d9
blob + 3feb552aa76b5b4ac39fa49470680d19d31ca163
--- gpm
+++ gpm
@@ -104,6 +104,6 @@ a*) shift; add "$@" ;;
 l*) ls ;;
 m*) shift; move "$@" ;;
 r*) rm -f "$(gpgbasename "$2")" ;;
-s*) "$gpg" -q -d "$(gpgbasename "$2")" ;;
+s*) "$gpg" -qd $(gpgbasename "$2") | if [ -t 1 ]; then awk {print}; else cat; fi ;;
  *) usage ;;
 esac