浏览代码

mlr: update page (#3623)

vapniks 5 年之前
父节点
当前提交
4e589fadf3
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      pages/common/mlr.md

+ 4 - 0
pages/common/mlr.md

@@ -26,3 +26,7 @@
 - Receive JSON and format the output as vertical JSON:
 
 `echo '{"hello":"world", "foo":"bar"}' | mlr --ijson --ojson --jvstack cat`
+
+- Filter lines of a compressed CSV file treating numbers as strings:
+
+`mlr --prepipe 'gunzip' --csv filter -S '${{fieldName}} =~ "{{regexp}}"' {{example.csv.gz}}`