help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Counting words, fast!


From: Greg Wooledge
Subject: Re: Counting words, fast!
Date: Wed, 17 Mar 2021 08:07:50 -0400

On Tue, Mar 16, 2021 at 05:31:41PM -0500, Jesse Hathaway wrote:
> I was following what I took as the spirit of the constraints:
> 
> https://benhoyt.com/writings/count-words/#problem-statement-and-constraints
> 
> which don't allow anything but a language's standard library.

One might argue that when writing a shell script, the POSIX utilities
are the "standard library".  They are *meant* to be used.  The shell's
built-in feature set is severely limited *because* it's designed to
use these tools to do the heavy lifting.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]