bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

preventing complete from putting trailing spaces


From: Noel Yap
Subject: preventing complete from putting trailing spaces
Date: Mon, 02 Jun 2003 17:26:54 -0400

I'm trying to write a complete function that'll sometimes return directories 
and sometimes return files.  When it returns directories (with a trailing '/'), 
I don't want readline to place trailing spaces.  OTOH, when it returns files 
(with no trailing
'/'), I do want it to place a trailing space.  How do I do this?

Thanks,
Noel
-- 
NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]