help-bash
[Top][All Lists]
Advanced

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

Re: Counting words, fast!


From: Koichi Murase
Subject: Re: Counting words, fast!
Date: Sat, 20 Mar 2021 06:43:12 +0800

> This didn't seem to work for me, because ${#o[@]} is the sparse length?:

Oh, sorry. It seems o=("${#o[@]}") has been dropped while testing a
different way of reverting the array. With o=("${#o[@]}"), the array o
is turned into a dense array keeping the order of its elements.

--
Koichi



reply via email to

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