mlr
Verified for current stable LTS
Mlr Command: Sort Alphabetically On Field
Use for sort alphabetically on field with Mlr. Exact CLI syntax to sort alphabetically on field using Mlr.
When to use this: Use for sort alphabetically on field with Mlr.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
mlr --icsv --opprint sort -f <field> <example.csv> mlr --icsv --opprint sort -f <field> <example.csv> Live Command Builder
Final Command
mlr --icsv --opprint sort -f <field> <example.csv> Command Breakdown
--icsv- Command Option
- Tool-specific option used by this command invocation.
--opprint- Command Option
- Tool-specific option used by this command invocation.
-f- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to sort alphabetically on field using Mlr.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Mlr Command: Convert Csv To Json With Calculations
mlr --icsv --ojson put '$<newField1> = $<oldFieldA>/$<oldFieldB>' <example.csv> Mlr Command: Filter Lines Compressed Csv As Strings mlr --prepipe 'gunzip' -c filter -S '$<fieldName> =~ "<regex>"' <example.csv.gz> Mlr Command: Format Json As Vertical Json {{echo '{"key1":"value1", "key2":"value2"}'}} | mlr --ijson --ojson --jvstack cat Mlr Command: Pretty Print Csv File mlr --icsv --opprint cat <example.csv> Mlr Command: Pretty Print Json Data {{echo '{"key":"value"}'}} | mlr --ijson --opprint cat