On 12/27/20 11:29 PM, William Park wrote:
I have feature request: stack variable.  Almost like current DIRSTACK
with 'pushd' and 'popd', but for regular arrays.

I know it can be implemented with array, where you push and pop from the
end.  But, a real stack is better.

How is putting something like this into bash `better' than writing a couple
of shell functions to do it? There's no discernable demand, and no use
cases.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to