Re: Process output of a simple command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 21 Oct 2009, Dr. David Kirkby wrote:

So is there a way I can check the architecture? Also, I would like to know if the machine is sun4m, as that can not be upgraded to Solaris 10. Since Solaris 10 is the only supported version of Solaris, and earlier (sun4m) hardware can not be upgraded, I would like to be able to test the architecture.

arch=`uname -m`

Any, that aside, how could I use the output of any arbitrary command, to return something I can test on?

arch=`uname -m`

I continue to believe that the approach you are taking is wrong since the work is entirely disposable. What you find out this year may be wong (or insufficient) next year, but maybe next year you will have moved on to some other project.

It is must better to document all platform specific issues which are found and the workarounds. That is what GCC and other large software usually does.

Bob
--
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux