1 2 3 4 5
#silent w delete trailing whitespace TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1 cat %b > $TMPFILE cat $TMPFILE | sed 's/[ \t]*$//' > %b