mc/misc/macros.d/macro.7.sh
Ilia Maslakov c7638e1a75 replaced #interactive to #silent into misc/macros.d/*
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-03-17 16:17:03 +00:00

6 lines
179 B
Bash

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