News for hackers. Stuff that matters.
Re:Use Long Options in Scripts by amelius on Saturday March 22, 2025 @11:30AM (#43446438)
Yes, if *.c expands to a string over 2m. Maybe that is a lot for .c files, but it may easily happen with .tiff and a folder full of images used for training a deep learning model, for example.
Re:Use Long Options in Scripts by _huayra_ on Saturday March 22, 2025 @12:54PM (#43447030)
Thanks, this is interesting. I have done a lot of this sorta stuff (glob expanding giant directories) without a thought for this `ARG_MAX` libc parameter, but now I know I need to keep it in mind!