cc: [EMAIL PROTECTED]
Subject: Re: [ast-users] typeset -r IFS
--------
> Hello.
> I have encountered a problem with typesetting the IFS variable. The
> script:
>
> #!/bin/ksh
>
> function f1 {
> typeset -r IFS=" "
>
> echo "$(pwd)"
> }
>
> f1
>
> is supposed to print the current working directory but ends up with:
>
> ksh[8]: f1: line 5: IFS: is read only
>
> Is this an expected behaviour? What am I doing wrong?
>
> Thanks for answers.
>
> --
> Tomáš Smetana
> Base OS Software Engineer, Red Hat
> RH IRC: #brno #devel #base-os; Freenode IRC: #fedora-devel
>
>
Thanks, this was caused by a bug. I have fixed this for the next ksh93s+ update.
David Korn
[EMAIL PROTECTED]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users