Description of problem: A file that rm prompts to delete will show the escape character if the file name contains an apostrophe. Version-Release number of selected component (if applicable): coreutils-7.2-1.fc11 How reproducible: Always Steps to Reproduce: 1. touch he\'ll 2. rm -i he\'ll Actual results: rm: remove regular empty file `he\'ll'? Expected results: rm: remove regular empty file `he'll'? <NOTICE Backslash should not show> Additional info:
Thanks for report, it does show escape char for C locales, it's correctly escaped for multibyte locales(at least with my cs_CZ.UTF-8). Will check on Monday whether it is bug or feature.
(In reply to comment #0) > Expected results: > rm: remove regular empty file `he'll'? > <NOTICE Backslash should not show> Where did you get that expectation? Please refer the corresponding documentation, standard or whatever. Closing NOTABUG for now.