3 ms·
Another legacy mess: Argument list too long It's absolutely crazy that this isn't a dynamically resizable vector.
by amelius 1y ago
Another legacy mess:
Argument list too long
It's absolutely crazy that this isn't a dynamically resizable vector.
- formerly_proven 1y agoIt is, there’s just a limit set by the kernel for the number of pages the command line as a whole can occupy or something like that.
- amelius 1y agoNo, it's still an artificial limit, even if you can change it (usually after your command has failed).
- chasil 1y agoThe xargs command was designed to address this. From this perspective, it is a kludge.
- amelius 1y agoYes, and xargs isn't the same thing. It splits a single command into multiple commands, which can lead to surprises. The issue also breaks scripts left and right. It really needs to be solved.