-   Programming (
-   -   Tab-completion (

kzr_merchant 12-16-2007 09:59 PM

Hello all,
Is it possible to implement tab-completion feature through bash scripting? If yes then pls let me know how it can be achieve.

Thanks in advance.

shadowsnipes 12-16-2007 10:47 PM

I don't think it can, but you shouldn't need it since you can use wildcard expansions '*'
man bash for more details.

ntubski 12-17-2007 04:00 PM

Your question is a bit vague, but

Originally Posted by help read
If -e is supplied and the shell is interactive, readline is used to obtain the line.

The readline library is what gives completion in bash.

Also see programmable completion:

All times are GMT -5. The time now is 01:30 PM.