On 1/11/14, 8:48 PM, Tim Friske wrote: > Hi Chet, > > apparently bash does not recognize the ":" colon characters in POSIX > character classes when assigned to the "HISTIGNORE" variable. > > I tried to set the "HISTIGNORE" variable directly from within a > non-login, interactive session. But still I cannot convince bash's > history with the following definitions: > > 1.) HISTIGNORE="+([[:word:]])"
This actually works fine for me, as long as extglob is set. > 2.) HISTIGNORE="+([^[:space:]])" As does this. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/