bugGNU Screen - Bugs: bug #53313, odd backslash escape parsing of...


bug #53313: odd backslash escape parsing of the echo command

Submitter:  Soliton <soliton>
Submitted:  Fri 09 Mar 2018 10:51:27 PM UTC
Category:  Program Logic Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.5.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup

Fri 09 Mar 2018 10:58:57 PM UTC, comment #1: 

(Talking about the command/shell built-in printf.)

Soliton <soliton>
Fri 09 Mar 2018 10:51:27 PM UTC, original submission:  

screen -X echo '\' produces an error instead of printing \.

: Missing " quote.

According to amade it's the same with the newest version.

One could argue that a single unescaped backslash is not valid but then I think at least the error message should be improved.

I suggest to do it similar to printf though which just prints the \ in this case.

It seems to me that the backslash escape and quote handling could be improved in general.

screen -X echo '\"\"\r\n\t' does not seem to do much useful. Perhaps it'd be better to not interprete backslash escapes or quotes at all.

Soliton <soliton>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by soliton (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code