From 1ba50fed30b6f8299a2582b5160f7ddb327ce2d5 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 13 Mar 2014 18:16:25 +0100 Subject: services lib filter: add non-op-names for binops --- services/lib/filter | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'services') 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 ;; -- cgit v1.2.3