Jan 20, 2025line-numbers is a Rust crate for efficiently finding the linenumber of a string offset. Usage. Create a LinePositions, then you can find linenumbers for an offset. let s = "foo\nbar\nbaz\n"; ...
Feb 5, 2025lineno takes an arbitrary number of filters and returns lines matching those filters. Filters any combo of. Standalone linenumbers, e.g. 10 $ lineno-f./tests/foo.txt 2 bar. Ranges, e.g.1:10 $ lineno-f./tests/foo.txt 1:3 foo bar baz. Both the upper and lower bounds on ranges are inclusive
#36 in #individual. MIT license . 20KB 132 lines. tracing-line-filter. A tracing filter for enabling individual spans and events by linenumber.. tracing is a framework for instrumenting Rust programs to collect scoped, structured, and async-aware diagnostics. The tracing-subscriber crate's EnvFilter type provides a mechanism for controlling what tracing spans and events are collected by ...
Feb 26, 2024#2190 in Command line utilities. 25 downloads per month MIT license 4MB 903 lines. Renify. A simple cli tool for batch renaming files and folders, written in Rust. 🚀 written in Rust, fast. ... Numbers with left zero padding start from --start (1 by default). 001, 002, 003 ...
Nov 19, 2024A Rust command-line tool that generates CSV or Parquet files with synthetic data based on a provided JSON schema. It supports custom delimiters for CSV, displays a progress bar during generation, and efficiently handles large datasets using parallel processing. ... Generates random floating-point numbers between 0.0 and 1000.0. string ...
Jul 4, 2023The first three digits represent > 99.9% the value of a number. -- GNU-R Pillar. Choosing the sigfigs amounts to how much of the value of a number is desired. The table below shows an example calculation with variable sigfigs. ... tv is a good complement to command line data manipulation tools. I have listed some tools that I like to use with tv.
Jan 26, 2025112 downloads per month . GPL-3.-or-later. 16KB 270 lines. Syscall Searcher. A tool to search information of syscalls based on the API https://api.syscall.sh You can search for a syscall number or name, and filter for an architecture.. The results contains the name and number of the syscall, register configuration and prototype (in C) of the syscall.
A small nu plugin to plot a list as a line graph. Install. Not yet on crates.io, so you'll have to clone this repository. I assume you have Rust, and are inside a nushell instance. ... -h,--help - Display the help message for this command--width <Number>-The maximum width of the plot.--height <Number>-The maximum height of the plot.-t,--title ...
Jan 2, 2025to_output_lines(json_lines: bool): Returns a vector of plain-text results with each data row as JSON on a new line; rows(): Returns a vector of rendered JSON strings; json_data(): Returns all data as as serde_json::Value::Array ready for conversion or post-processing. Examples. The main implementation is my unpublished Spreadsheet to JSON CLI ...