Bug 547488

Summary: guestfish cannot tab complete filenames that contain spaces
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2009-12-14 19:14:28 UTC
Description of problem:

On a Windows disk image:

><fs> ls /Program<tab>
/Program Files  /ProgramData

but entering <space><tab> or \<space><tab> or trying to put
quotes around the argument doesn't work.

In addition:

><fs> ls "/Program Files/<tab>

doesn't show any files to complete.

Version-Release number of selected component (if applicable):

major: 1
minor: 0
release: 79
extra: 

How reproducible:

Always

Steps to Reproduce:
1. Mount up a Windows guest (possibly any filesystem which
   contains spaces)
2. Try to tab-complete filenames that have spaces
3.
  
Actual results:

Doesn't tab complete correctly.

Expected results:

Should understand guestfish quoting.
http://libguestfs.org/guestfish.1.html#quoting

Additional info: