Bug 1404353 - Typo in /usr/share/bash-completion/completions/lvm result in completion failure for vg* and pv* commands
Summary: Typo in /usr/share/bash-completion/completions/lvm result in completion failu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: 25
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 16:15 UTC by Vladislav Grigoryev
Modified: 2017-02-05 20:22 UTC (History)
4 users (show)

Fixed In Version: bash-completion-2.5-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-05 20:22:04 UTC
Type: Bug


Attachments (Terms of Use)

Description Vladislav Grigoryev 2016-12-13 16:15:17 UTC
Description of problem:
Typo in /usr/share/bash-completion/completions/lvm result in completion failure for vg* and pv* commands.
Redundant spaces before end of line on lines 17-18:
$ grep -n ' $' /usr/share/bash-completion/completions/lvm
17:    COMPREPLY=( $(compgen -W "$( pvscan 2>/dev/null | \ 
18:       command sed -n -e 's|^.*PV \([^ ]*\) .*|\1|p' )" -- "$cur" ) ) 

Version-Release number of selected component (if applicable):
bash-completion-2.4-1.fc25.noarch

How reproducible:
Always.

Steps to Reproduce:
1. vgextend vg <Tab>

Actual results:
$ vgextend vg <Tab>bash:  : command not found
^C

Comment 2 Fedora Update System 2017-02-04 16:50:25 UTC
bash-completion-2.5-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6430f4ba0e

Comment 3 Fedora Update System 2017-02-05 02:21:27 UTC
bash-completion-2.5-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6430f4ba0e

Comment 4 Fedora Update System 2017-02-05 20:22:04 UTC
bash-completion-2.5-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.