Add support of reading parameters for external editor/viewer from main config.
[midnight-commander.git] / misc / macros.d / macro.6.sh
blob923a5f88f097fcf3779b85c65e9ead0ecc3ac453
1 #silent
2 e execute something
3 TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
4 cat %b > $TMPFILE
5 sh $TMPFILE > %b