Article 6GNQM bash extglob

bash extglob

by
jt1122
from LinuxQuestions.org on (#6GNQM)
from the bash extglob man page: "?(pattern-list) Matches zero or one occurrence of the given patterns"

Code:touch a b; echo ?(a)
aif ? matches 0 or 1 occurrences why isn't b also shown?

Thanks
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