[Bug 1890644] [NEW] bash-completion for make target with colon fails

Christian Hujer 1890644 at bugs.launchpad.net
Thu Aug 6 17:26:27 UTC 2020


Public bug reported:

Given the following Makefile

```
foo\:bar:
	echo foo >$@
```

When completing
Expected: Then completion completes to "foo:bar"
Actual: Then completion completes to "foo"

Change needed: The completion needs to ignore a colon in the target name
when the colon is prefixed with a backslash.

** Affects: bash-completion (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1890644

Title:
  bash-completion for make target with colon fails

Status in bash-completion package in Ubuntu:
  New

Bug description:
  Given the following Makefile

  ```
  foo\:bar:
  	echo foo >$@
  ```

  When completing
  Expected: Then completion completes to "foo:bar"
  Actual: Then completion completes to "foo"

  Change needed: The completion needs to ignore a colon in the target
  name when the colon is prefixed with a backslash.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1890644/+subscriptions



More information about the foundations-bugs mailing list