git: sh: Add support for named character classes in bracket expressions.
Peter Avalos
pavalos at crater.dragonflybsd.org
Sun Aug 21 16:33:29 PDT 2011
commit 215809b779970af1a7de5914487f7e474ee48c4b
Author: Peter Avalos <pavalos at 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
More information about the Commits
mailing list