drop use of the NOT macro, [^foo] ≠ [!foo] anyway, and we’re not gonna change that

This commit is contained in:
tg
2012-03-23 20:07:13 +00:00
parent c5cc22a13f
commit 3795e667c5
4 changed files with 8 additions and 9 deletions

4
eval.c
View File

@@ -22,7 +22,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.111 2011/12/16 20:03:12 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.112 2012/03/23 20:07:10 tg Exp $");
/*
* string expansion
@@ -896,7 +896,7 @@ expand(const char *cp, /* input word */
if (!quote)
switch (c) {
case '[':
case NOT:
case '!':
case '-':
case ']':
/*