[manual] load con read compressed files, but not documented

Thomas Weber thomas.weber.mail at gmail.com
Fri Sep 12 06:34:34 CDT 2008


Am Freitag, den 12.09.2008, 12:54 +0200 schrieb Francesco Potorti`:
> Neither the load help string nor the manual mention that load can read
> files compressed with gzip.

Changeset attached.

	Thomas
-------------- next part --------------
# HG changeset patch
# User Thomas Weber <thomas.weber.mail at gmail.com>
# Date 1221219222 -7200
# Node ID b9faf8dad0d6d3569e32121bd0e9e97806c1e374
# Parent  3b2346046d32ad8a819b26236c575a6fc2a1436a
Document load's ability to handle gzip-compressed files.

diff --git a/src/load-save.cc b/src/load-save.cc
--- a/src/load-save.cc
+++ b/src/load-save.cc
@@ -585,7 +585,8 @@
  corresponding to the names of the variables in the file.\n\
 \n\
 The @code{load} command can read data stored in Octave's text and\n\
-binary formats, and @sc{Matlab}'s binary format.  It will automatically\n\
+binary formats, and @sc{Matlab}'s binary format.  If compiled with zlib\n\
+support, it can load gzip-compressed files as well.  It will automatically\n\
 detect the type of file and do conversion from different floating point\n\
 formats (currently only IEEE big and little endian, though other formats\n\
 may added in the future).\n\


More information about the Bug-octave mailing list