Bug 234118 - Different characters are used in rm <file> command in interactive mode.
Different characters are used in rm <file> command in interactive mode.
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: coreutils (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Ondrej Vasik
Depends On:
  Show dependency treegraph
Reported: 2007-03-27 02:28 EDT by Subramanyam
Modified: 2007-12-06 08:50 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-06 08:50:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Subramanyam 2007-03-27 02:28:16 EDT
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

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
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 04:12:07 EDT
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 08:50:44 EST
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

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.

Note You need to log in before you can comment on or make changes to this bug.