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

Christian Hujer 1890644 at bugs.launchpad.net
Mon Jul 3 08:16:20 UTC 2023


This might be the same bug:
Given the following Makefile
```
foo\ bar:
	touch "$@"
```

When completing
Expected: Then completion completes to "foo\ bar"
Actual: Then completion offers "foo" and "bar" for completion

Change needed: The completion needs to support escapes, ignoring spaces
and colons in the target name when prefixed with a backslash.

-- 
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