> Nicholas Mc Guire wrote:
>
> > probably errornous behavior:
> >
> >
> > when using compgen to allow shortcuts (in the below example for quit and
> > exit I get a strange behavior when no input is entered and write times
> > out after 5 seconds:
> >
> > #! /bin/bash
>
Nicholas Mc Guire wrote:
probably errornous behavior:
when using compgen to allow shortcuts (in the below example for quit and
exit I get a strange behavior when no input is entered and write times
out after 5 seconds:
#! /bin/bash
read -p "timeout 5 > " -t 5 FOO