Re: why is the - modifier useful

Lawrence Velázquez <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <[email protected]>
On Tue, Jul 22, 2025, at 4:01 AM, Martijn Dekker wrote:
> Ah. Found one: NetBSD sh doesn't have -l :-)

Looks like it learned -l in 10.0:

https://cvsweb.netbsd.org/bsdweb.cgi/src/bin/sh/main.c?r1=1.89#rev1.89

But fear not: on Solaris, "sh" is always a shell that lacks -l:

/usr/bin/sh: https://docs.oracle.com/cd/E88353_01/html/E37839/ksh93-1.html
/usr/sunos/bin/sh: https://docs.oracle.com/cd/E88353_01/html/E37839/sh-1s.html
/usr/xpg4/bin/sh: https://docs.oracle.com/cd/E88353_01/html/E37839/ksh88-1.html

-- 
vq
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.