summaryrefslogtreecommitdiffstats
path: root/misc/macros.d/macro.6.sh
blob: 923a5f88f097fcf3779b85c65e9ead0ecc3ac453 (plain)
1
2
3
4
5
#silent
e       execute something
        TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
        cat %b > $TMPFILE
        sh $TMPFILE > %b