bug-bash
[Top][All Lists]
Advanced

[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




reply via email to

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