[Pkg-mc-devel] [Bug 1094324] Re: "Delete tagged files if a copy exists in the other directory" doesn't work if names of the files or folders contains space

Mantas Kriaučiūnas mantas at akl.lt
Tue Jul 7 12:22:48 UTC 2015


Hi,

Yury V. Zaytsev (zyv) wrote on 2015-07-04: 	#12
> How about SUM2="`sum \"%D/$i\"`" ? 
> Should %D remain quoted there? 

No, %D shouldn't be quoted at all in mc.menu, see my patch, attached to
the bugreport:

https://launchpadlibrarian.net/136265988/mc.menu.folders-and-files-with-
spaces-deletion-fix-4.8.8.patch

Yury, please apply this patch to the upstream mc.menu - there are only 2
lines changed.

> Anyways, I don't quite understand why %D shouldn't be quoted.
I also don't understand why problem disappears only when %D *isn't* quoted and $i *is* quoted, but I successfully use patched mc.menu since 2010 ;)

-- 
You received this bug notification because you are a member of Debian MC
Packaging Group, which is subscribed to Midnight Commander.
https://bugs.launchpad.net/bugs/1094324

Title:
  "Delete tagged files if a copy exists in the other directory" doesn't
  work if names of the files or folders contains space

Status in Midnight Commander - text-mode file manager:
  Fix Released
Status in mc package in Ubuntu:
  Confirmed
Status in mc package in Baltix:
  Confirmed

Bug description:
  Midnight commander has nice feature - you can mark some file in one side and MC can compare these files with identically named files in other side and remove them if files are identical. This function can be started from the "User menu" (key F2) and is named"
  "D  Delete tagged files if a copy exists in the other directory"
  But "Delete tagged files if a copy exists in the other directory" doesn't work if names of the files or folders contains space :(
  Problem is in /etc/mc/mc.menu - I'm attaching a patch against mc.menu, which fixes this problem - I've tested with mc from Ubuntu 12.04 and newer :)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mc/+bug/1094324/+subscriptions



More information about the Pkg-mc-devel mailing list