Bug 234118

Summary: Different characters are used in rm <file> command in interactive mode.
Product: Red Hat Enterprise Linux 4 Reporter: Subramanyam <msubbums>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 4.0CC: meyering
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-06 13:50:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Subramanyam 2007-03-27 06:28:16 UTC
Description of problem:
Different characters are used in rm <file> command.

Version-Release number of selected component (if applicable):

Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Linux hostname 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386
GNU/Linux

How reproducible:


Steps to Reproduce:
1. create a tempfile
2. run the command rm <filename>
3. Type y to delete the file
  
Actual results:
rm: remove regular empty file `tempFile'? y


Expected results:
rm: remove regular empty file `tempFile`? y
or
rm: remove regular empty file 'tempFile'? y


Additional info:
In the interactive mode the file name in encoded in two different characters "`"
and "'", so any one character should be used as `filename` or 'filename'.
Preferably 'filename'

Comment 1 Phil Knirsch 2007-03-27 08:12:07 UTC
This is related to the rm command, which in turn is part of package coreutils.

Reassigning bug to proper component.

Read ya, Phil

Comment 2 Ondrej Vasik 2007-12-06 13:50:44 UTC
Sorry for late response. That is not a bug, that is expected behavior. This is
one of the correct quoting styles generally used by coreutils (to check all
correct coreutils quoting styles you could read
http://www.gnu.org/software/coreutils/manual/html_node/Formatting-the-file-names.html#Formatting-the-file-names).

Anyway - changing behavior - like default quoting style for some command - is
dangerous thing in distribution like RHEL, because that style could be expected
in some scripts/parsers - and  change like this will break them. Closing NOTABUG.