Re: bash, read, and tab completion

2005-11-09 Thread Michael Marsh
On 11/9/05, Matt Price <[EMAIL PROTECTED]> wrote: > I want to make sure that I save my .config in a safe location. > In bash I supose this is easy: > > echo -n "Save this config as: " > read filename > cp .config $filename > > however, there's no guarantee there that I've inputted a valid path. > I

bash, read, and tab completion

2005-11-09 Thread Matt Price
I'm writing a script to make sure I keep good records while experimenting with kernel parameters. between make menuconfig and make-kpkg kernel-image I want to make sure that I save my .config in a safe location. In bash I supose this is easy: echo -n "Save this config as: " read filename cp .co