summaryrefslogtreecommitdiffstats
path: root/services/lib
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2014-03-13 18:16:25 +0100
committertv <tv@nomic.retiolum>2014-03-13 18:16:25 +0100
commit1ba50fed30b6f8299a2582b5160f7ddb327ce2d5 (patch)
tree92565847d96826f55d7525ec2443a11c948276e1 /services/lib
parent40cf4c6b46acff33527cec2363a952936dafcaae (diff)
services lib filter: add non-op-names for binops
Diffstat (limited to 'services/lib')
-rwxr-xr-xservices/lib/filter6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/lib/filter b/services/lib/filter
index 93853895..f69a5b0d 100755
--- a/services/lib/filter
+++ b/services/lib/filter
@@ -35,16 +35,16 @@ op1() {
# op2 SCHEMA OP RHS
op2() {
case "$2" in
- ==)
+ ==|is)
xargs grep -H "^$1:$3$" \
| cut -d: -f1
;;
- !=)
+ !=|isnt)
xargs grep -H "^$1:" \
| grep -v ":$1:$3" \
| cut -d: -f1
;;
- ~=)
+ contains)
xargs grep -H "^$1:.*$3.*$" \
| cut -d: -f1
;;