Added two macro examples:
[midnight-commander/osp.git] / misc / macros.d / macro.7.sh
blobe0b8c2471a507f99b8bd0e97e2bff13f9cdd5278
1 w delete trailing whitespace
2 TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
3 cat %b > $TMPFILE
4 cat $TMPFILE | sed 's/[ \t]*$//' > %b