Your IP : 18.116.19.29


Current Path : /usr/share/mc/examples/macros.d/
Upload File :
Current File : //usr/share/mc/examples/macros.d/macro.1.sh

#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

?>