[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question on $@ vs $@$@
From: |
Greg Wooledge |
Subject: |
Re: Question on $@ vs $@$@ |
Date: |
Wed, 14 Aug 2024 11:28:48 -0400 |
On Wed, Aug 14, 2024 at 17:58:15 +0300, Oğuz wrote:
> On Wed, Aug 14, 2024 at 5:23 PM Robert Elz <kre@munnari.oz.au> wrote:
> > However, as ksh93 makes "" from this
> > expansion, and so probably ksh88 might have done as well
>
> No, both Sun and SCO variants expand "$@$@" to zero fields when $# is 0.
HP-UX 10.20 as well:
# set --
# printf '<%s> ' START "$@" END; echo
<START> <END>
# printf '<%s> ' START "$@$@" END; echo
<START> <END>
# uname -a
HP-UX vandev B.10.20 A 9000/778 2000153729 two-user license
Re: Question on $@ vs $@$@, Oğuz, 2024/08/14
Re: Question on $@ vs $@$@, Robert Elz, 2024/08/14
Re: Question on $@ vs $@$@, Chet Ramey, 2024/08/14
- Re: Question on $@ vs $@$@, Steffen Nurpmeso, 2024/08/14
- Re: Question on $@ vs $@$@, Steffen Nurpmeso, 2024/08/15
- Re: Question on $@ vs $@$@, Steffen Nurpmeso, 2024/08/15
- Re: Question on $@ vs $@$@, Robert Elz, 2024/08/16
- Re: Question on $@ vs $@$@, Steffen Nurpmeso, 2024/08/16
- Re: Question on $@ vs $@$@, Steffen Nurpmeso, 2024/08/16
- Re: Question on $@ vs $@$@, Steffen Nurpmeso, 2024/08/22