Jelajahi Sumber

mlr: update page (#3623)

vapniks 5 tahun lalu
induk
melakukan
4e589fadf3
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  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}}`