Merge branch '3205_eta'
[midnight-commander.git] / misc / macros.d / macro.1.sh
blob93ca59feb9fa1a88b1bb0755e3eb02f9ca6c3fc6
1 #silent
2 u Upper case selection
3 TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
4 cat %b > $TMPFILE
5 cat $TMPFILE| sed 's/\(.*\)/\U\1/' >%b
6 rm -f $TMPFILE