[nflug] Re: nflug Digest, Vol 12, Issue 13
Robert Meyer
meyer_rm at yahoo.com
Tue Sep 12 14:26:25 EDT 2006
I actually tried it on an AIX 5.2 system and it didn't work in bash but it
worked in ksh. Interesting that. I would suspect that ksh on Linux is the
pdksh that has been available and the ksh on AIX is from SYSVr4.
Cheers!
Bob
--- Michael James <jamesm at thundertux.org> wrote:
> Thanks for the help. I managed to google the solution, and it's as Bob
> stated. The read in the line is considered a subprocess, and the variables
> user and terminal are considered local. When the process exits, these
> variables loose the contents. Better solution was to use a tmp file, and
> read the values back from that. Oh yea, the first line in the script is
> #!/bin/ksh.
>
> It's interesting that on the RS6000 under AIX, the pipe works fine. I did
> check the version of ksh loaded on the Linux system and it was current.
> Thanks for the assist!
>
> Michael James
> jamesm at thundertux.org
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
More information about the nflug
mailing list