Mercurial > octave
diff scripts/miscellaneous/unpack.m @ 21758:ffad2baa90f7
maint: Use newlines to make code more readable.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 20 May 2016 15:46:45 -0700 |
parents | feac06371be1 |
children | 2c7acd39e9b7 |
line wrap: on
line diff
--- a/scripts/miscellaneous/unpack.m Fri May 20 12:03:39 2016 -0700 +++ b/scripts/miscellaneous/unpack.m Fri May 20 15:46:45 2016 -0700 @@ -290,14 +290,14 @@ function files = __parse_gzip__ (output) ## Parse the output from gzip and gunzip returning the files - ## commpressed (or decompressed). + ## compressed (or decompressed). files = regexprep (output, '^.+ -- replaced with (.*)$', '$1'); endfunction function files = __parse_bzip2__ (output) ## Parse the output from bzip2 and bunzip2 returning the files - ## commpressed (or decompressed). + ## compressed (or decompressed). ## Strip leading blanks and .bz2 extension from filename files = regexprep (output, '^\s+(.*)\.bz2: .*', '$1');