From: Andy A. <ad...@nc...> - 2005-12-26 22:16:26
|
On 12/26/05, Etienne Grossmann <et...@cs...> wrote: > octave:8> help isunix > isunix is the user-defined function from the file > /home=E6tienne/prog=F8ctave=F8ctave-forge=F8ctave-forge/main/general/isun= ix.m > > Always returns true. If you are on a windows machine, be sure to > put an isunix.m which always returns false in your path. The semantics of 'isunix' depends on what you mean by UNIX. Strictly speaking, only certain well defined OSes are UNIX. Linux, for example, is not. On the other hand, maybe UNIX means OSes that behave like UNIX in most ways. cygwin has UNIX process semantics (ie. fork) and file semantics (symlinks, select on files, etc.) So, is cygwin UNIX? Clearly, a mingwin octave is not unix. Maybe isunix should make a specific test. -- Andy |