suspect nobody noticed these don't work ...

2016-06-02 Thread Charles T. Smith
Does anybody know how to use ?(pattern)?  Or @(pattern)?  Or any of them
except !(pattern)?  If you do an internet search, the man page is always
blithely quoted, but only !(pattern) is ever demostrated...
I wonder if the others even work?

  ?(pattern-list)
 Matches zero or one occurrence of the given patterns
  *(pattern-list)
 Matches zero or more occurrences of the given patterns
  +(pattern-list)
 Matches one or more occurrences of the given patterns
  @(pattern-list)
 Matches one of the given patterns
  !(pattern-list)
 Matches anything except one of the given patterns


$ ls -d ?(*clean*|vim)
ciho-clean  clean  vim

(not that I can think of an application - purely academic)


readline doesn't refresh properly anymore

2016-06-02 Thread Charles T. Smith
Hello,

I moved from ubuntu 10.04 to 14.04 and now readline usually doesn't refresh
my command line when scrolling through my history - the last tokens are often
not shown until I move the cursor there.  Is that due to a change in bash?

TIA,
cts