bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on $IFS related differences (Was: Question on $@ vs $@$@)


From: Oğuz
Subject: Re: Question on $IFS related differences (Was: Question on $@ vs $@$@)
Date: Wed, 18 Sep 2024 08:05:10 +0300

On Wed, Sep 18, 2024 at 4:19 AM Steffen Nurpmeso <steffen@sdaoden.eu> wrote:
>

It boils down to this:

  f(){ echo $#;}; set "" "" ""; IFS=x; f $*

bash, NetBSD and FreeBSD sh, and ksh88 all agree and print 2. pdksh
prints 3 but mksh and oksh print 1. dash, ksh93, yash, and zsh print
0.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]