Reading "Learning the bash shell" and came across a passage that i simply
cannot get to work:
"For example, if you wanted to list all of the files in the directories /usr
and usr2, you could type ls /usr*.  If you were only interested in the files
beginning with the letters b and e in these directories, you could type ls
/usr*/[be]* to list them." 

When i type /usr*/[be]* i do not get all the files within /usr that begin
with a b or an e but instead get ALL the files within /usr/bin and /usr/etc.

Am i reading this correctly?
-- 
View this message in context: 
http://old.nabble.com/pathname-expansion-part-two-tp29974516p29974516.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.


Reply via email to