patchThe GNU Bourne-Again SHell - Patches: patch #9920, Fix bug when newline in a file,...


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

patch #9920: Fix bug when newline in a file, tab+tab

Submitted by:  Mikhail Pavlovich Sidorenko <sgmuwa>
Submitted on:  Mon 13 Apr 2020 09:52:00 PM UTC  
Category:  None Priority:  3 - Low
Status:  Invalid Privacy:  Public
Assigned to:  None Open/Closed:  Open

Tue 14 Apr 2020 01:50:19 AM UTC, comment #1: 

I suspect this is an issue with the bash-completion package. Bash as distributed doesn't have any problems completing filenames containing newlines.

Chet Ramey <chet>
Project Administrator
Mon 13 Apr 2020 09:52:00 PM UTC, original submission:  

Bash incorrectly suggests file names if there is a new line in the file name.

me@pc:/tmp$ echo > "111

> 222"

Then write «rm "11» and press [TAB] twice. Bash will not write the file name "111

Mikhail Pavlovich Sidorenko <sgmuwa>


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 chet (Posted a comment)
  • -email is unavailable- added by sgmuwa (Submitted the item)
  • -email is unavailable- added by sgmuwa

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

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-04-14 chet StatusNone => Invalid
    2020-04-13 sgmuwa Carbon-Copy- => Added

    Back to the top

    Powered by Savane 3.6