Gentoo Archives: gentoo-user

From: Drew Tomlinson <drew@××××××××××××××.net>
To: Gentoo Users <gentoo-user@l.g.o>
Subject: [gentoo-user] Bash Pattern Matching Syntax
Date: Sat, 15 Oct 2005 22:30:57
Message-Id: 435181D4.8030601@mykitchentable.net
1 I want to list the files in a directory that end in ".jpg" irregardless
2 of case. Thus after reading the bash man page, it seems I should be
3 able to issue a command something along the lines of "ls [*.[JjPpGg]]"
4 or "ls *.[JjPpGg]" but neither of these work and return a "No such file
5 or directory" message. What is the correct syntax for what I'm trying
6 to do?
7
8 Thanks,
9
10 Drew
11
12 --
13 Visit The Alchemist's Warehouse
14 Magic Tricks, DVDs, Videos, Books, & More!
15
16 http://www.alchemistswarehouse.com
17
18 --
19 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Bash Pattern Matching Syntax Michael Kjorling <michael@××××××××.com>