Show HN: Xzgrep is twice as fast with dash versus bash In the CentOS world, a shell script written by "Charles Levert" has been extended as the compressed grep for (gzip/bzip2/xz) as /bin/(zgrep/bzgrep/xzgrep); variants of this script are bundled in their respective packages. The dash shell, available in EPEL for CentOS, appears to specifically speed up xzgrep considerably when altered from #!/bin/sh to #!/bin/dash. In my testing on a 32-bit platform under xargs, a search of 14k files of 20M total size runs in half the time. Do others see this performance increase? Is this another tangible benefit for Debian/Ubuntu moving the system shell from bash to their Almquist shell derivative? October 17, 2022 at 11:42PM
Show HN: Xzgrep is twice as fast with dash versus bash https://ift.tt/QL7yU51
Related Articles
Show HN: Milter in Rust to Add Headers https://ift.tt/Vo4RU79Show HN: Milter in Rust to Add Headers Here's a milter in Rust that ad… Read More
Show HN: Zuni (YC S24) – AI Copilot for the Browser https://ift.tt/Wd0a6w8Show HN: Zuni (YC S24) – AI Copilot for the Browser Hi HN, I'm Will, a… Read More
Show HN: We made a VS Code extension to recreate a debugger experience from logs https://ift.tt/dYBfha1Show HN: We made a VS Code extension to recreate a debugger experience… Read More
Show HN: val – An arbitrary precision calculator language https://ift.tt/sr7k2MKShow HN: val – An arbitrary precision calculator language Wrote this t… Read More
Show HN: Dirb – Directory in Bio https://ift.tt/8q6hZkLShow HN: Dirb – Directory in Bio Dirb lets you build a personal profil… Read More
Show HN: HN Watercooler – listen to HN threads as an audio conversation https://ift.tt/NTjty3vShow HN: HN Watercooler – listen to HN threads as an audio conversatio… Read More
Show HN: I built a simple, fast transit app for the Bay Area https://ift.tt/g1GhwaTShow HN: I built a simple, fast transit app for the Bay Area Hey HN, I… Read More
Show HN: $30 and 2hours with Claude Code produced this https://ift.tt/fmuMIYGShow HN: $30 and 2hours with Claude Code produced this As an experimen… Read More
0 Comments: