OpenSolaris Vs. Solari8


 
Thread Tools Search this Thread
Operating Systems Solaris OpenSolaris Vs. Solari8
# 8  
Old 04-26-2009
Quote:
Originally Posted by System Shock
Basic_message is either a script or a function that is in your Sol8 box.
You need to copy it into the Sol10 box. If it is a script, just put it in the same place as complete.sh and make it executable. If it is a function, it needs to load in your environment, or you can add it to the complete.sh script.
Hi, boss.
Thanks very much...first...
I almost understand what your mean....
As my under stand ,this basic_message is function that modified in the complete.sh....
so i need load the environment which it need....
but how can i check the different that sol8 and opensolaris, and how can i load the env which the shell need....
from the "env" command,,the output can not give me some usefull infomation...maybe i am so pool on programmer.....please help....


Smilie
# 9  
Old 04-28-2009
I looked over your script. It does declare Basic_message, but it declares it in bourne shell, whereas the script is running on korn shell as indicated by the first line (#!/bin/ksh).
For korn shell, the function would be declared like :

Code:
Basic_message () 
                 {  whatever is it 
                     that the function does
}

# 10  
Old 04-29-2009
Bug

Quote:
Originally Posted by System Shock
I looked over your script. It does declare Basic_message, but it declares it in bourne shell, whereas the script is running on korn shell as indicated by the first line (#!/bin/ksh).
For korn shell, the function would be declared like :

Code:
Basic_message () 
                 {  whatever is it 
                     that the function does
}

Thanks very much.....
I will try my best to re-define this Shell.
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Solaris

OpenSolaris vs Solaris

What is the difference between OpenSolaris and Solaris ? Can we get the same full functionality as Solaris on SPARC in OpenSolaris ? thanks. (3 Replies)
Discussion started by: sudhiroracle
3 Replies

2. Solaris

Gcc for OpenSolaris

Hi All, can anyone please tell the site from where I can download gcc compiler for openSolaris..I tried to find it but unable to do it. Please help me.. (7 Replies)
Discussion started by: smartgupta
7 Replies

3. Solaris

Suspend in opensolaris

How does one enable the suspend to hard drive or ram and sleep features on a desktiop running Open Solaris? (2 Replies)
Discussion started by: FloridaBSD
2 Replies
Login or Register to Ask a Question