惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Martin Fowler
Martin Fowler
雷峰网
雷峰网
IT之家
IT之家
小众软件
小众软件
M
MIT News - Artificial intelligence
博客园 - 聂微东
J
Java Code Geeks
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
About on SuperTechFans
G
Google Developers Blog
Engineering at Meta
Engineering at Meta
Recent Announcements
Recent Announcements
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
C
Check Point Blog
云风的 BLOG
云风的 BLOG
腾讯CDC
H
Help Net Security
Y
Y Combinator Blog
I
InfoQ

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - Serenacula/splitby: A powerful, multi-threaded a...
Serenacula · 2026-05-09 · via Hacker News: Show HN

Splitby

A high-performance Rust command-line tool that splits text by a regex delimiter and returns selected parts of the result. A powerful, multi-threaded alternative to cut with regex support.

Full documentation: serenacula.github.io/splitby

Installation

Homebrew

brew install serenacula/tap/splitby

Cargo

Or install from releases

Usage

splitby <delimiter> [selections] [options]

Selections are 1-based indexes or ranges. Negative indexes count from the end.

echo "boo,hoo,foo" | splitby , 2
> hoo

echo "this is a test" | splitby " " 2-4
> is a test

echo "this is a test" | splitby " " -2
> a

echo "a:b:c:d" | splitby : first last
> a
> d

echo "this,is,a,test" | splitby , 2 --invert
> this,a,test

echo -e "apple,banana,cherry\na,bb,ccc" | splitby , --align
> apple,banana,cherry
> a    ,bb    ,ccc

Regex delimiters are wrapped in /…/:

echo "one  two   three" | splitby "/\s+/" 1 3
> one three

Options

Flag Disable Flag Description Default
-h, --help Print help text
-v, --version Print version number
--input=<FILE> Provide an input file
--output=<FILE> Write output to a file
-d, --delimiter=<REGEX> Specify the delimiter
-j, --join=<STRING|HEX> Join selections with a given string
-p, --placeholder=<STRING|HEX> Insert placeholder for out-of-bounds selections
-t, --terminator=<STRING|HEX> Replace the output record terminator
--per-line Process input line by line (default) Enabled
-w, --whole-string Process input as a single string
-z, --zero-terminated Process input as zero-terminated strings
-f, --fields Select fields split by delimiter (default) Enabled
-b, --bytes Select bytes from the input
-c, --characters Select grapheme clusters from the input
-a, --align[=MODE] Align fields to consistent column widths (left, right, squash, none) Disabled
--count Return the number of fields after splitting
-i, --invert Invert the selection
-e, --skip-empty-fields -E, --no-skip-empty-fields Skip empty fields when indexing or counting Disabled
-l, --skip-empty-lines -L, --no-skip-empty-lines Suppress output records whose result is empty Disabled
-s, --skip-undelimited -S, --no-skip-undelimited Suppress records with no delimiter (fields mode only) Disabled
--strict --no-strict Shorthand for all strict features
--strict-bounds --no-strict-bounds Error if selection is out of bounds Disabled
--strict-return --no-strict-return Error if result is empty Disabled
--strict-range-order --no-strict-range-order Error if range start is greater than end Enabled
--strict-utf8 --no-strict-utf8 Error on invalid UTF-8 sequences Disabled