Bug 74649

Summary: Tab completion and new files.
Product: [Retired] Red Hat Linux Reporter: Ralph Loader <suckfish>
Component: bashAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-03-25 17:44:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Ralph Loader 2002-09-29 04:42:35 UTC
Tab completion does not work correctly on newly created files.

Version-Release number: bash-2.05b-5

How Reproducible:  Every time.

Steps to Reproduce:

1.  In a shell:

  mkdir tempdir
  cd tempdir
  ls xy<TAB> (and don't press return).

(<TAB> = press the tab key).

2. In a second shell, 'touch tempdir/xyzzy'

3. In the first shell, type <TAB> again.  

Actual Results:

The single possible completion (xyzzy) is displayed on a line, but the command
line being edited does not change:

  ~/tempdir$ ls xy
  ~/tempdir$ ls xy

Expected Results:

The string "xy" should be completed to the single possibility:

  ~/tempdir$ ls xyzzy

Comment 1 Tim Waugh 2003-03-25 17:44:19 UTC
This is intentional behaviour, according to the maintainer.