Article 4TRFS Problem with Globbing

Problem with Globbing

by
captain_john
from LinuxQuestions.org on (#4TRFS)
I created 2 files:
Code:touch Test.txt test.txtI can list the files:

Code:ls -l
-rw------- 1 user users 20 Nov 6 test.txt
-rw------- 1 user users 20 Nov 6 Test.txtHowever, globbing doesn't seem to work:

Code:ls -l [a-z]*
-rw------- 1 user users 20 Nov 6 test.txt
-rw------- 1 user users 20 Nov 6 Test.txt...but, using the macro, it works:

Code:ls -l [[:lower:]]*
-rw------- 1 user users 20 Nov 6 test.txt
Thoughts?latest?d=yIl2AUoC8zA latest?i=n_T-McVtOOo:HYAdvlJVFjM:F7zBnMy latest?i=n_T-McVtOOo:HYAdvlJVFjM:V_sGLiP latest?d=qj6IDK7rITs latest?i=n_T-McVtOOo:HYAdvlJVFjM:gIN9vFwn_T-McVtOOo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments