Re: regexp sous (z)sh
On 2004-01-02 16:53:46 +0100, Julien Louis wrote:
> On Fri, Jan 02, 2004 at 04:22:01PM +0100, Patrice Karatchentzeff wrote:
[...]
> > Pour le premier, pas de soucis :
> >
> > if [[ $file == *~ ]]; then
[...]
> Il faut échapper aussi les *, j'ai trouvé ca par hasard en butant sur
> un find.
Non, quand on utilise les doubles-crochets, c'est inutile.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Reply to: