Mercurial > hg > octave-nkf
comparison scripts/help/doc.m @ 14636:e3d03b48ecb5
doc.m: quote info args
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Tue, 15 May 2012 15:18:52 -0400 |
parents | f3d52523cde1 |
children | 049e8bbff782 |
comparison
equal
deleted
inserted
replaced
14635:f8d5095fa90d | 14636:e3d03b48ecb5 |
---|---|
84 info_program (), info_file_name, info_dir); | 84 info_program (), info_file_name, info_dir); |
85 | 85 |
86 have_fname = ! isempty (fname); | 86 have_fname = ! isempty (fname); |
87 | 87 |
88 if (have_fname) | 88 if (have_fname) |
89 status = system (sprintf ("%s --index-search %s", cmd, fname)); | 89 status = system (sprintf ("%s --index-search \"%s\"", cmd, fname)); |
90 endif | 90 endif |
91 | 91 |
92 if (! (have_fname && status == 0)) | 92 if (! (have_fname && status == 0)) |
93 status = system (cmd); | 93 status = system (cmd); |
94 if (status == 127) | 94 if (status == 127) |