mlr
Verified for current stable LTS
Mlr Commands
Mlr command syntax with verified terminal examples.
Commands
7 commands for Mlr
mlr HTTP
Mlr Command: Convert Csv To Json With Calculations
mlr --icsv --ojson put '$<newField1> = $<oldFieldA>/$<oldFieldB>' <example.csv> mlr Archive
Mlr Command: Filter Lines Compressed Csv As Strings
mlr --prepipe 'gunzip' -c filter -S '$<fieldName> =~ "<regex>"' <example.csv.gz> mlr HTTP
Mlr Command: Format Json As Vertical Json
{{echo '{"key1":"value1", "key2":"value2"}'}} | mlr --ijson --ojson --jvstack cat mlr Operations
Mlr Command: Pretty Print Csv File
mlr --icsv --opprint cat <example.csv> mlr HTTP
Mlr Command: Pretty Print Json Data
{{echo '{"key":"value"}'}} | mlr --ijson --opprint cat mlr Operations
Mlr Command: Sort Alphabetically On Field
mlr --icsv --opprint sort -f <field> <example.csv> mlr Operations
Mlr Command: Sort Descending Numerically On Field
mlr --icsv --opprint sort -nr <field> <example.csv> Suggest a Mlr Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Mlr workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.