mc/misc/macros.d/macro.2.sh
Ilia Maslakov 04d54931d0 added examples
added rules for misc/macros.d/*. in the process of installation, example scripts will be copied into share/mc/examples/macros.d

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-03-03 20:48:31 +00:00

6 lines
189 B
Bash

l Lower case selection
TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
cat %b > $TMPFILE
cat $TMPFILE| sed 's/\(.*\)/\L\1/' >%b
rm -f $TMPFILE