Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 105173

Summary: broken tab completion with lvm2 user-land utilities
Product: Gentoo Linux Reporter: Ruben Jenster <rjenster>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Ruben Jenster 2005-09-07 11:52:45 UTC
everytime I run a utility from the lvm2 toolkit and intuitivly press tab to 
complete the device name in the command I get the following error: 
root@workstation [/home/ruben] lvextend -L30G /deawk: {if ($2 ~ /^/de/) print 
awk:                 ^ syntax error 
Any idea? 

Reproducible: Always
Steps to Reproduce: a lvm2 utility   
2.start to write the device path '/dev' 
3.hit tabulator for tab completion 
Actual Results:  
awk prints a syntax error 

Expected Results:  
device path should be completed
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-08 02:33:16 UTC
Which gawk and bash-completion versions are you using?
Comment 2 Ruben Jenster 2005-09-08 03:10:58 UTC
sys-apps/gawk-3.1.4-r4 is installed.  
bash-completion is not installed. Needed in this case? 
I just mean the builtin tab completion of bash, not the extra command  
completion that includes bash-completion.  
Comment 3 Ruben Jenster 2005-09-08 03:16:22 UTC
Thanks, you pointed me to the right direction. Actually bash-completion seems 
to be needed. Installig it fixed my problem.