mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
c7638e1a75
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
7 lines
197 B
Bash
7 lines
197 B
Bash
#silent
|
|
u 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
|