On 7/22/25 4:01 AM, Martijn Dekker wrote:
Op 22-07-2025 om 03:46 schreef Bart Schaefer:On Mon, Jul 21, 2025 at 2:19 PM Martijn Dekker <martijn@xxxxxxxx> wrote:All the POSIXy shells care to this day, zsh included. So does tcsh.True, but that's not quite the same as it being useful. The shells all have other options to make them login shells ...Yes. I didn't think quite all of them do, but I was wrong about that -- even dash has an -l option. It's not in POSIX though. Ah. Found one: NetBSD sh doesn't have -l :-)
And for shells without an option, you have ARGV0=-sh sh with the value of ARGV0 not being limited to an `-' prefix.