Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux
Compiler: gcc -I/usr/src/packages/BUILD/bash-2.05
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux' -DCONF_MACHTYPE='i$uname output: Linux sirius 2.4.4 #2
Son Jul 29 17:13:33 CEST 2001 i686 unknown
Machine Type: i386-suse-linux
Bash Version: 2.05
Patch Level: 0
Release Status: release
Description:
"read -e" behaves like normal bash filename completion, i.e. it will only
complete directories and executable files as first item. This seems
inappropriate to me.
Repeat-By:
The following script prompts the user for the name of a configuration file.
Unless that file is executable, filename completion can't be used.
=== cut ===
#!/bin/bash
echo "Enter configuration file name:"
read -e cfg_file
echo "cfg_file=$cfg_file"
=== cut ===
Bernhard
--
Bernhard Bablok
mail@bablokb.de
http://www.bablokb.de
[Prev in Thread]
Current Thread
[Next in Thread]
read -e and filename completion,
Bernhard Bablok<=