Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105173 - broken tab completion with lvm2 user-land utilities
Summary: broken tab completion with lvm2 user-land utilities
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 11:52 UTC by Ruben Jenster
Modified: 2005-09-08 03:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruben Jenster 2005-09-07 11:52:45 UTC
Hi, 
 
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 
$2} 
awk:                 ^ syntax error 
 
Any idea? 
 
Regards 
 
Ruben 

Reproducible: Always
Steps to Reproduce:
1.run 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. 
 
Thanx 
 
Ruben