You could use the output of the uname command with a suitable flag :- e.g.
# uname -m i686 You'dneed to check on each platform that you get distinguishable results. Hope that helps Graeme On Wed, 2004-02-04 at 12:33, Huard, Elise - D C&W Consultant wrote: > 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 _______________________________________________ Scottish mailing list [EMAIL PROTECTED] http://mailman.lug.org.uk/mailman/listinfo/scottish
