to test the operation of external filters can be placed in the section
[editor]
something like
ctrl-W=EditPipeBlock:33;
\r
it means that the external script file will be searched for in ~/.local/share/mc/mcedit/macros.d/
with the name macros.33.sh
\r
the content is about
\r
l Upper case selection TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1 cat %b > $TMPFILE cat $TMPFILE| sed 's/\\(.*\\)/\\U\\1/' >%b rm-f $TMPFILE
\r
this filter will translate the highlighted text from the editor to upper case.
\r
for more information, please see the section about mc.the menu man mc