For a command line tool for text processing, the strongest matches are chmln/sd (This tool is a specialized command-line utility for regex-based), uutils/coreutils (This suite provides a comprehensive collection of standard POSIX) and mikefarah/yq (This tool is a specialized command-line processor for structured). antonmedv/fx and nushell/nushell round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Find the best command line text processing tools. We compare top open-source utilities by features and performance to help you pick the right one.
sd is a command line text manipulation utility designed for searching and replacing text patterns across multiple files. It functions as a regex-based find and replace tool that allows for in-place file editing directly from the terminal. The project supports both regular expression replacements, including the use of capture groups for complex transformations, and fixed string replacement for literal text substitutions. It specifically handles multi-line text replacement by processing file contents as single blocks to match patterns that span across newline characters. The tool provides capa
This tool is a specialized command-line utility for regex-based search and replace that supports in-place editing and multi-line processing, making it a highly effective focused alternative to traditional stream editors.
This project is a suite of basic command line utilities rewritten in Rust, providing a cross-platform implementation of POSIX shell utilities. It serves as a portable CLI toolset designed to run across different operating systems and architectures. The implementation includes a WebAssembly shell environment, which allows these essential command line tools to be executed directly within a web browser without requiring a local installation. The toolset covers a broad range of system capabilities, including filesystem operations, text processing and stream editing, and system administration too
This suite provides a comprehensive collection of standard POSIX text processing utilities like sed, awk, and grep, which are the foundational tools for stream processing and text manipulation in a terminal environment.
This tool is a command-line processor designed for querying, updating, and transforming structured data files. It functions as a versatile engine for manipulating YAML, JSON, TOML, and XML documents, allowing users to perform complex operations directly from the terminal. By utilizing a path-based expression language, it enables precise navigation and modification of data structures within configuration files and infrastructure-as-code workflows. What distinguishes this tool is its ability to perform in-place document mutations while preserving original formatting, comments, and metadata. It
This tool is a specialized command-line processor for structured data formats like YAML and JSON, providing the requested in-place editing and transformation capabilities within a terminal environment.
Fx is a command-line processing suite designed for the transformation, conversion, exploration, and visualization of structured data. It functions as a terminal-based utility that handles both automated shell pipelines and interactive navigation of complex, nested data hierarchies. The tool distinguishes itself by integrating a JavaScript-based engine that executes user-provided logic to filter, map, or modify data fields within a sandboxed runtime. It maintains a responsive interface by decoupling data processing from the display loop, allowing users to explore large datasets through an inte
This tool is a terminal-based utility designed for transforming and exploring structured data, making it a strong fit for command-line text processing despite its specific focus on JSON and interactive navigation.
Nushell is a cross-platform shell and programming language designed to treat all input and output as structured data rather than raw text streams. By enforcing data types and command signatures, it provides a consistent environment for building robust, pipeline-oriented workflows. The shell allows users to chain commands that pass structured objects between stages, enabling complex data processing and automation tasks that remain predictable across different operating systems. What distinguishes the project is its focus on interactive data exploration and modular extensibility. Users can quer
Nushell is a modern shell that treats all input as structured data, providing powerful built-in commands for parsing, filtering, and transforming data streams that effectively replace traditional text-processing utilities.
Gron is a command line utility that transforms nested JSON data into a flat list of path-value assignments. This process converts hierarchical structures into line-based statements, mapping every leaf value to its absolute path to make the data compatible with standard text-processing tools. The tool allows for the bidirectional transformation of data, enabling the reconstruction of original nested JSON objects from flattened path assignments. It can ingest JSON from local files, standard input, or remote URLs, with the ability to route network traffic through proxy servers. The utility supp
Gron is a specialized command-line utility that transforms complex JSON into a flat, line-based format, enabling you to use standard text-processing tools like grep or sed on structured data.
This project is a comprehensive suite of essential command-line tools and standardized Unix-like utilities. It provides the fundamental building blocks for system administration, file management, and text processing on Unix-like systems, implementing a wide range of POSIX command-line tools. The collection is distinguished by its broad coverage of low-level system operations. This includes a complete toolkit for file system management, such as creating and modifying files and directories, and a specialized text processing toolkit for filtering, sorting, and transforming data streams. The pro
This suite provides the foundational command-line utilities for text processing, such as sorting, filtering, and transforming data streams, which are essential tools for terminal-based text manipulation.
jq is a command-line JSON processor and data transformer. It provides a functional query language used to slice, filter, map, and transform structured JSON data directly within a terminal. The utility functions as a data transformer that reshapes JSON input into different structures or formats based on declarative logic. This allows for the extraction and analysis of structured data from sources such as API responses and system logs.
This tool is a specialized command-line utility for parsing and transforming structured JSON data, fitting the category of text processing tools even though its scope is focused on JSON rather than general-purpose text.
lnav is a terminal-based log viewer and analyzer designed for aggregating, filtering, and analyzing multiple log files in a single chronological view. It functions as a console application that can replace the system pager, providing syntax highlighting and document navigation for system or application logs. The project distinguishes itself by mapping unstructured log data to virtual SQLite tables, enabling the use of SQL and PRQL for structured data analysis, aggregations, and relational queries. It further differentiates its capability set through native integration for retrieving and taili
This tool is a specialized terminal-based log analyzer that provides powerful structured data parsing and querying capabilities, making it a highly effective utility for processing and analyzing complex text-based log streams.
Jo is a command-line utility designed to construct and manipulate JSON objects and arrays directly from shell arguments and standard input. It functions as a data processing tool that transforms raw input into structured formats, enabling the generation of complex payloads for APIs, configuration files, and automated data pipelines. The tool distinguishes itself through its ability to resolve hierarchical data structures using delimiter-based path definitions and its integrated type-inference engine, which automatically casts input values into native boolean, numeric, or null types. Users can
Jo is a command-line utility specifically built for constructing and transforming structured JSON data from shell input, fitting the category of a specialized text processing tool for structured formats.
ack is a grep-like search tool optimized for source code.
This tool is a specialized search utility designed for terminal-based text analysis and pattern matching, serving as a direct alternative to standard grep for source code environments.
Data Hacks is a collection of command-line utilities designed for statistical computation, real-time stream processing, and text-based data visualization. The toolkit enables users to perform rapid analysis on large datasets directly within the terminal by processing information through standard input and output streams. The project distinguishes itself through its focus on memory-efficient, stream-oriented operations that allow for the analysis of large-scale data without requiring heavy infrastructure. It utilizes stateless functional transformations and reservoir sampling to handle data st
This collection of Python-based command-line utilities provides specialized tools for data analysis and stream processing, fitting the category of terminal-based text manipulation tools.
| Repository | Stele | Limbaj | Licență | Ultimul push |
|---|---|---|---|---|
| chmln/sd | 7.2K | Rust | MIT | |
| uutils/coreutils | 23.6K | Rust | MIT | |
| mikefarah/yq | 14.9K | Go | mit | |
| antonmedv/fx | 20.3K | Go | mit | |
| nushell/nushell | 39.7K | Rust | MIT | |
| tomnomnom/gron | 14.5K | Go | MIT | |
| coreutils/coreutils | 5.2K | C | GPL-3.0 | |
| stedolan/jq | 34.9K | C | NOASSERTION | |
| tstack/lnav | 9.6K | C++ | bsd-2-clause | |
| jpmens/jo | 4.9K | C | NOASSERTION |