Hello,
I'm not sure if this is a bug, or if it's just a pdksh thing, but I
stumbled upon some interesting behaviour when I was tinkering around
with quoting and using a poor mans array:
test=$(cat <<'__EOT'
# I'll choose not to close this quote
other_stuff
__EOT
)
echo "$test"
When I run t
On 17.11.2020 05:04, Jordan Geoghegan wrote:
Hello,
I'm not sure if this is a bug, or if it's just a pdksh thing, but I
stumbled upon some interesting behaviour when I was tinkering around
with quoting and using a poor mans array:
test=$(cat <<'__EOT'
# I'll choose not to close this quote
ot
On 17.11.2020 05:04, Jordan Geoghegan wrote:
Hello,
I'm not sure if this is a bug, or if it's just a pdksh thing, but I
stumbled upon some interesting behaviour when I was tinkering around
with quoting and using a poor mans array:
test=$(cat <<'__EOT'
# I'll choose not to close this quote
ot
On 11/16/20 10:36 PM, Bodie wrote:
On 17.11.2020 05:04, Jordan Geoghegan wrote:
Hello,
I'm not sure if this is a bug, or if it's just a pdksh thing, but I
stumbled upon some interesting behaviour when I was tinkering around
with quoting and using a poor mans array:
test=$(cat <<'__EOT'
#
On November 17, 2020 5:04:19 AM GMT+01:00, Jordan Geoghegan
wrote:
>Hello,
>
>I'm not sure if this is a bug, or if it's just a pdksh thing, but I
>stumbled upon some interesting behaviour when I was tinkering around
>with quoting and using a poor mans array:
>
>test=$(cat <<'__EOT'
># I'll c
On Mon, Nov 16, 2020 at 11:04 PM Bodie wrote:
> On 17.11.2020 05:04, Jordan Geoghegan wrote:
> > Hello,
> >
> > I'm not sure if this is a bug, or if it's just a pdksh thing, but I
> > stumbled upon some interesting behaviour when I was tinkering around
> > with quoting and using a poor mans array
On Nov 17 09:01:18, alexan...@beard.se wrote:
>
>
> On November 17, 2020 5:04:19 AM GMT+01:00, Jordan Geoghegan
> wrote:
> >Hello,
> >
> >I'm not sure if this is a bug, or if it's just a pdksh thing, but I
> >stumbled upon some interesting behaviour when I was tinkering around
> >with quoting
Hello again,
I was playing around with ksh array syntax and its behaviour when set as
read-only. In my testing I noticed that ksh will allow you to overwrite
the first element of a read-only array. Example snippet:
#!/bin/ksh
arr[0]=val1
arr[1]=val2
readonly arr
echo "${arr[@]}"
arr=yikes
ech
For me, this is a definite bug. I've opted my students to fix this
bug, so unless there's a hurry, there must be a fix till the end of
December. :)
пн, 7 дек. 2020 г. в 07:43, Jordan Geoghegan :
>
> Hello again,
>
> I was playing around with ksh array syntax and its behaviour when set as
> read-on
On 07/12/2020 05:41, Jordan Geoghegan wrote:
Hello again,
I was playing around with ksh array syntax and its behaviour when set
as read-only. In my testing I noticed that ksh will allow you to
overwrite the first element of a read-only array. Example snippet:
#!/bin/ksh
arr[0]=val1
arr[1]=
On 12/7/20 10:14 PM, Noth wrote:
On 07/12/2020 05:41, Jordan Geoghegan wrote:
Hello again,
I was playing around with ksh array syntax and its behaviour when set
as read-only. In my testing I noticed that ksh will allow you to
overwrite the first element of a read-only array. Example snippet:
Hi Vadim,
Thanks for looking into this, all I ever wanted was an ancient pdksh bug
fix for Christmas.
Regards,
Jordan
On 12/7/20 10:47 AM, Vadim Zhukov wrote:
For me, this is a definite bug. I've opted my students to fix this
bug, so unless there's a hurry, there must be a fix till the en
12 matches
Mail list logo