[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to detect for wich SO is an .oct file?
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: How to detect for wich SO is an .oct file? |
Date: |
Wed, 30 Jun 2010 10:59:05 -0500 |
On 30 June 2010 09:11, veryhappy <address@hidden> wrote:
> I meant from inside Octave but either way that won't work under windows
> because it doesn't ship with anything similar to the file command.
system("file foo.oct") under a GNU-based system. Or you could install
file(1) on Windows.
This is one reason why it's a silly idea to ultimately categorise
files by their names and not their contents (and MyPhoto.jpg.exe) :-/