Ticket #3586: mcedit-fix-lower-case-selection-command.patch

File mcedit-fix-lower-case-selection-command.patch, 511 bytes (added by rimf, 7 years ago)
  • misc/mcedit.menu.in

    diff --git a/misc/mcedit.menu.in b/misc/mcedit.menu.in
    index e64e55f..9585526 100644
    a b u Upper case selection 
    477477l       Lower case selection 
    478478        TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1 
    479479        cat %b > $TMPFILE 
    480         cat $TMPFILE| sed 's/\(.*\)/\U\1/' >%b 
     480        cat $TMPFILE| sed 's/\(.*\)/\L\1/' >%b 
    481481        rm -f $TMPFILE 
    482482 
    483483#-------------------------- End of common section -----------------------------