[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compgen -f failing on directory containing single quote
From: |
Freddy Vulto |
Subject: |
compgen -f failing on directory containing single quote |
Date: |
Sun, 13 Dec 2009 11:07:14 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
`compgen -f' produces no output if the directory contains a single quote.
I get the same result on both bash-3.2.39 and bash-4.0.35.
Steps to reproduce the problem:
$ mkdir a\'b
$ touch a\'b/{c,d}
$ compgen -f a\'b/
$
Expected output:
a\'b/c
a\'b/d
Freddy Vulto
http://fvue.nl
- compgen -f failing on directory containing single quote,
Freddy Vulto <=