DragonFly BSD
DragonFly commits List (threaded) for 2011-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: sh: Add support for named character classes in bracket expressions.


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Aug 2011 16:32:26 -0700 (PDT)

commit 215809b779970af1a7de5914487f7e474ee48c4b
Author: Peter Avalos <pavalos@dragonflybsd.org>
Date:   Sun Aug 21 14:33:45 2011 -0700

    sh: Add support for named character classes in bracket expressions.
    
    Example:
      case x in [[:alpha:]]) echo yes ;; esac
    
    Obtained-from:   FreeBSD 223120

Summary of changes:
 bin/sh/expand.c                          |   40 ++++++++++++++++++++++++++++-
 bin/sh/sh.1                              |   12 ++++++++-
 tools/regression/bin/sh/builtins/case8.0 |   32 ++++++++++++++++++++++++
 3 files changed, 81 insertions(+), 3 deletions(-)
 create mode 100644 tools/regression/bin/sh/builtins/case8.0

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/215809b779970af1a7de5914487f7e474ee48c4b


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]