On Jan 18, 11:01 am, Chet Ramey <chet.ra...@case.edu> wrote: > On 1/18/10 12:40 AM, Samus_ wrote: > > > hello, I had this on my shell: fgrep "$(nl_join " templates/ > > advertiser/campaign* and when tried to perform readline's glob-expand- > > word I got some parse errors, I'm not sure if it is a bug or the > > expected behaviour because the line isn't functional code however I'm > > not sure if that should affect the expansion. > > This is the behavior of the completion function you have installed for > "fgrep". Without any completions installed, bash-4.1 behaves as you > would expect. > > > ps: bash at gnu.org rejected my email. > > That's not a valid email address. > > Chet > > -- > ``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/
But it's not fgrep's completion function if there's nothing on the command line but: "$(" (including quotes).