Re: system() on solaris 8 : how to change shell invocated for ksh?
From: Ed Morton (morton_at_lsupcaemnt.com)
Date: 11/09/05
- Next message: styx: "Re: system() on solaris 8 : how to change shell invocated for ksh?"
- Previous message: John L: "Re: date confusion"
- Next in thread: styx: "Re: system() on solaris 8 : how to change shell invocated for ksh?"
- Reply: styx: "Re: system() on solaris 8 : how to change shell invocated for ksh?"
- Maybe reply: Stephane Chazelas: "Re: system() on solaris 8 : how to change shell invocated for ksh?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 09 Nov 2005 09:06:19 -0600
styx wrote:
> Hello!
>
> I'm running an nawk script on solaris 8, and I have a little problem :
> the script shell I want to be started with a system() instruction is a
> ksh one... So how can I do to change the shell process invocated from
> sh to ksh? In system() and standards page I read this:
>
> Utilities
> If the behavior required by POSIX.2, POSIX.2a, XPG4, SUS, or
> SUSv2 conflicts with historical Solaris utility behavior,
> the original Solaris version of the utility is unchanged; a
> new version that is standard-conforming has been provided in
> /usr/xpg4/bin. For applications wishing to take advantage of
> POSIX.2, POSIX.2a, XPG4, SUS, or SUSv2 features, the PATH
> (sh or ksh) or path (csh) environment variables should be
> set with /usr/xpg4/bin preceding any other directories in
> which utilities specified by those specifications are
> found, such as /bin, /usr/bin, /usr/ucb, and /usr/ccs/bin.
>
>
> ..but it seems to be not enough :(
>
> Thx to you
>
> PS:sorry for my poor english ;)
>
This is a shell question, not an awk one so it belongs in
comp.unix.shell. Crossposting and setting followups.
Ed.
- Next message: styx: "Re: system() on solaris 8 : how to change shell invocated for ksh?"
- Previous message: John L: "Re: date confusion"
- Next in thread: styx: "Re: system() on solaris 8 : how to change shell invocated for ksh?"
- Reply: styx: "Re: system() on solaris 8 : how to change shell invocated for ksh?"
- Maybe reply: Stephane Chazelas: "Re: system() on solaris 8 : how to change shell invocated for ksh?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|