comparison scripts/help/doc.m @ 11587:c792872f8942

all script files: untabify and strip trailing whitespace
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:35:29 -0500
parents e1851653d59c
children 72c96de7a403
comparison
equal deleted inserted replaced
11586:12df7854fa7c 11587:c792872f8942
1 ## Copyright (C) 2005-2011 Søren Hauberg 1 ## Copyright (C) 2005-2011 Søren Hauberg
2 ## 2 ##
3 ## This file is part of Octave. 3 ## This file is part of Octave.
4 ## 4 ##
5 ## Octave is free software; you can redistribute it and/or modify it 5 ## Octave is free software; you can redistribute it and/or modify it
6 ## under the terms of the GNU General Public License as published by 6 ## under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 3 of the License, or (at 7 ## the Free Software Foundation; either version 3 of the License, or (at
63 info_dir = octave_config_info ("infodir"); 63 info_dir = octave_config_info ("infodir");
64 else 64 else
65 info_dir = fileparts (ffile); 65 info_dir = fileparts (ffile);
66 endif 66 endif
67 67
68 ## Determine if a file called doc.info exist in the same 68 ## Determine if a file called doc.info exist in the same
69 ## directory as the function. 69 ## directory as the function.
70 70
71 info_file_name = fullfile (info_dir, "doc.info"); 71 info_file_name = fullfile (info_dir, "doc.info");
72 72
73 [stat_info, err] = stat (info_file_name); 73 [stat_info, err] = stat (info_file_name);