Re: bash core dumps doing glob pattern on long string
From:
Chet Ramey
Subject:
Re: bash core dumps doing glob pattern on long string
Date:
Mon, 10 Oct 2022 15:08:10 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.1
On 10/10/22 12:59 PM, Phi Debian wrote:
Ok, I agry that PATH_MAX should not be considered, because not defined
every where (OS's)
That's not the point. The point is that shell pattern matching is used in
contexts other than filename globbing, and the shell shouldn't broadly
impose a filename-only restriction on those uses.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/