On 12/13/14 12:06 AM, Daniel A. Gauthier wrote: > > If you do a "read -e -r var" in bash, and use tab completion to fill-in > a filename, it fills in "My\ File\ Name.txt" and that's exactly > what's read into the variable. The fix is simple, in tab completion, > the text placed into the buffer should be in the same format that the > read is expecting, so if "-r" is in effect for the read operation, the > the filename should be added to the buffer unquoted.
This seems like an awfully specific case (-r in effect, one or fewer variables specified) to change readline for. I question whether it's of general interest. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/