[Top][All Lists]

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

[Octave-bug-tracker] [bug #54064] Behavior of open with unknown or non-e

From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #54064] Behavior of open with unknown or non-existing files
Date: Tue, 5 Jun 2018 17:20:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #2, bug #54064 (project octave):

@gyom: Testing if the file exists is reasonable (and easy).

For binary and text data handling I think it is necessary to have some mime
type checking layer (maybe using libmagic, like the file command) if we want
to do sensible choices when it comes to handling contents (image? numeric
tables? hdf5 files ? ...). Matlab seams to have "finfo" to do that job, but I
couldn't find documentation on the web ("help finfo" works in Matlab though).
See e.g :


The above is not a short project, so at least we should be able to determine
if a suitable fall-back application has been found on the system, and fire a
warning otherwise.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]