[Scottish] shell scripts

Huard, Elise - D C&W Consultant Elise.Huard at sbs.siemens.co.uk
Wed Feb 4 12:45:36 GMT 2004


Yes ! 
Thank you

> ----------
> From: 	Ben Thorp[SMTP:THORPB at uk.ibm.com]
> Reply To: 	SLUG-list
> Sent: 	04 February 2004 12:40
> To: 	SLUG-list
> Subject: 	Re: [Scottish] shell scripts
> 
> 
> 
> 
> 
> 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
> 
>                       .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
> Scottish at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/scottish
> 
> 
> 
> 
> _______________________________________________
> Scottish mailing list
> Scottish at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/scottish
> 
***********************************************************************************
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.
*************************************************************************************



More information about the Scottish mailing list