[Scottish] shell scripts

Ben Thorp THORPB at uk.ibm.com
Wed Feb 4 12:39:57 GMT 2004

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'" <scottish at mailman.lug.org.uk>                             
                      <Elise.Huard at sbs.siemens        cc:                                                                               
                      .co.uk>                         Subject:  [Scottish] shell scripts                                                
                      Sent by:                                                                                                          
                      scottish-bounces at mailman                                                                                          
                      04-02-04 12:33                                                                                                    
                      Please respond to                                                                                                 


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,


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
Scottish at mailman.lug.org.uk

More information about the Scottish mailing list