News for hackers. Stuff that matters.
Re:On env Shebangs by sibrahim on Friday April 15, 2022 @08:03PM (#31047529)
The usual next difficulty is that the maximum shebang length is fairly low (truncated at 128 chars, IIRC)
Re:On env Shebangs by lucb1e on Friday April 15, 2022 @08:16PM (#31047622)
It was funny to notice my mental knee-jerk reaction of "ought to be enough for anyone" (referring to 640K RAM). I've never used args with env until last week in the first place and even then it was a (mental) debate of solving it in code (wrapping print() in a function that also flushes stdout) or adding the argument instead, so I guess that's why that was my initial thought. But of course that doesn't mean there can't be legitimate uses of long argument lists. Java code comes to mind (although I do question the sanity of many things Java).