Show HN: Xzgrep is twice as fast with dash versus bash https://ift.tt/bia8lMZ

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

Comments

Popular posts from this blog

पहली पत्नी का आरोप, पति दूसरी पत्नियों को देता है ज्यादा समय, जानें क्या है पूरा मामला

Show HN: Harmonized Data Platform https://ift.tt/IVYlDaQ

तेलंगाना चुनाव: पूर्व विधायक राज गोपाल रेड्डी ने भाजपा छोड़ी, कांग्रेस में लौटेंगे