Am 16.06.2024 um 10:13 schrieb Keith Bainbridge:> Practical Limitations > > Environment Variables: Bash has a limit on the number of environment > variables it can store, which is typically around 32,000. If you define > too many aliases, you may exceed this limit, causing issues with your > shell. Hi,
while being aware of those limitations, i got curious, as to why i never ran into them in almpst 10 years of scripting. The answer is probably, that i do use aliases only occasionally, most of the time i use bash script files (in my path). And the largest file? Is actually one, i did not write myself, instead i found it on the internet: checkbashisms. And even this big file only has 32K So i am deferring, that you got into the habit to put most of your scripting in one place, and that may be the wrong one. It's hard to maintain and error-prone, as you are experiencing right now. Wouldn't it be feasible to separate some of its volume out into normal bash files? Just my 2 cents DdB