ohhh !! ill try
ye i didnt get that
thxx++
On Fri, Nov 1, 2024, 20:56 Greg Wooledge <greg@wooledge.org> wrote:
> On Fri, Nov 01, 2024 at 20:07:10 +0100, #!microsuxx wrote:
> > ~ $ x="${array[*]}"
> > ~ $ echo $x
> > zero one two three four
>
> You're still failing to quote. echo "$x" is needed to have even the
> slightest *chance* of seeing the correct output.
>
> printf '%s\n' "$x" would guarantee seeing the correct output. But for
> debugging purposes, echo "$x" may be good enough, often enough.
>
> echo $x, however, will never be acceptable.
>
>