mlr
Verified for current stable LTS
Mlr Command: Filter Lines Compressed Csv As Strings
Use for filter lines compressed csv as strings with Mlr. Exact CLI syntax to filter lines compressed csv as strings using Mlr.
When to use this: Use for filter lines compressed csv as strings with Mlr.
Command Syntax
mlr --prepipe 'gunzip' -c filter -S '$<fieldName> =~ "<regex>"' <example.csv.gz> mlr --prepipe 'gunzip' -c filter -S '$<fieldName> =~ "<regex>"' <example.csv.gz> Command Breakdown
--prepipe- Command Option
- Tool-specific option used by this command invocation.
-c- Command Option
- Tool-specific option used by this command invocation.
-S- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to filter lines compressed csv as strings 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: 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 Mlr Command: Sort Alphabetically On Field mlr --icsv --opprint sort -f <field> <example.csv> Alternative Approaches
Alternative tools for similar operation intents.
Tar Command: Create A Compressed Archive And Write It To A File Using The File Extension To Automatically Determine The Compression Program
tar caf <path/to/target.tar.xz> <path/to/file1 path/to/file2 ...> Bunzip2 Command: Decompress Bzip2 File bunzip2 <file> Bun Pm Pack Command: Set Gzip Compression Level bun pm pack --gzip-level 5 Tar Command: Extract A Compressed Archive File Into The Current Directory Verbosely tar xvf <path/to/source.tar[.gz|.bz2|.xz]> Tar Command: Extract A Compressed Archive File Into The Target Directory tar xf <path/to/source.tar[.gz|.bz2|.xz]> -C <path/to/directory>