bugGNU Core Utilities - Bugs: bug #28308, Please change verbose to use...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28308: Please change verbose to use double quotes in output (cp, mv etc: "FILE" -> "FILE")

Submitted by:  Jari Aalto <jaalto>
Submitted on:  Wed 16 Dec 2009 12:04:53 PM UTC  
 
Category: NoneSeverity: 1 - Wish
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 30 Dec 2009 09:35:56 PM UTC, comment #2:

Please elaborate the "bar". The information displayed, when needed, is used many times in other shell context and the used quoted do not support interoperability.

Jari Aalto <jaalto>
Wed 30 Dec 2009 08:51:48 PM UTC, comment #1:

Thanks for the suggestion, but the bar is pretty high for making a change like that. You'd have to come up with more justification.

If the quotes cause trouble when you copy/paste cp -v output (to a shell prompt!?!), just don't do that. If for some reason you really want to use that output, filter it through e.g., tr '`' '\''

Alternatively, you can use a different locale. In some, quote marks are rendered as << >>-like characters.

Jim Meyering <meyering>
Project Administrator
Wed 16 Dec 2009 12:04:53 PM UTC, original submission:

Currently the commands with verbose option on look like this:

$ touch a

$ cp -v a b
`a' -> `b'

$ mv -v a b
`a' -> `b'

The used quoting is problematic, because the the text cannot be copy pasted to another place very easily:

a) Trying to drag-n-paste in many times selects unwanted "`" which is a shell meta character and causes conflicts on shell prompt.
b) The text cannot be copied as is to another location, like written text, because the quoting rules in a wider internationally context don't usually use "`".

If possible consider changing the output display to use double quotes instead:

"a" > "b"

Jari Aalto <jaalto>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by meyering (Posted a comment)
  • -unavailable- added by jaalto (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 Dec 2009 08:51:48 PM UTCmeyeringSeverity3 - Normal=>1 - Wish
      StatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1