diff options
author | tv <tv@nomic.retiolum> | 2014-03-13 18:16:25 +0100 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2014-03-13 18:16:25 +0100 |
commit | 1ba50fed30b6f8299a2582b5160f7ddb327ce2d5 (patch) | |
tree | 92565847d96826f55d7525ec2443a11c948276e1 /services/lib | |
parent | 40cf4c6b46acff33527cec2363a952936dafcaae (diff) |
services lib filter: add non-op-names for binops
Diffstat (limited to 'services/lib')
-rwxr-xr-x | services/lib/filter | 6 |
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 ;; |