uname -m will give you the architecture type, so presumably you could
incorporate this in an 'if' clause.

Ben Thorp



                                                                                       
                                                 
                      "Huard, Elise - D C&W                                            
                                                 
                      Consultant"                     To:       "'SLUG-list'" <[EMAIL 
PROTECTED]>                             
                      <[EMAIL PROTECTED]        cc:                                    
                                           
                      .co.uk>                         Subject:  [Scottish] shell 
scripts                                                
                      Sent by:                                                         
                                                 
                      [EMAIL PROTECTED]                                                
                                          
                      .lug.org.uk                                                      
                                                 
                                                                                       
                                                 
                                                                                       
                                                 
                      04-02-04 12:33                                                   
                                                 
                      Please respond to                                                
                                                 
                      SLUG-list                                                        
                                                 
                                                                                       
                                                 
                                                                                       
                                                 



Hi,

Do any of you know if there are ways in a shell script (be it bash or ksh)
to select on architecture ?
Like : if i'm on this type of machine than i use this bit, otherwise i do
that ?
Thank you,

Elise
***********************************************************************************

This email and any accompanying files are confidential.      If you are
not  the  intended recipient  you  must not use,  copy or disclose the
content.   If you have received this email in error please contact the
sender by return email and delete this message.
Thankyou for your co-operation.
*************************************************************************************


_______________________________________________
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish




_______________________________________________
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish

Reply via email to