changeset 11115:965766039d93

finish adding untabify.m to build system
author John W. Eaton <jwe@octave.org>
date Tue, 19 Oct 2010 02:22:20 -0400
parents f7079e3b0227
children ec2a6c5760b2
files scripts/ChangeLog scripts/strings/module.mk scripts/strings/untabify.m
diffstat 3 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Oct 19 11:46:07 2010 +0800
+++ b/scripts/ChangeLog	Tue Oct 19 02:22:20 2010 -0400
@@ -1,3 +1,9 @@
+2010-10-19  John W. Eaton  <jwe@octave.org>
+
+	* strings/module.mk (strings_FCN_FILES): Include
+	strings/untabify.m in the list.
+	* strings/untabify.m: Escape { and } characters in docstring.
+
 2010-10-19  Ben Abbott <bpabbott@mac.com>
 
 	* strings/strjust.m: Add "untabify" and "strrep" to @seealso{} in the
--- a/scripts/strings/module.mk	Tue Oct 19 11:46:07 2010 +0800
+++ b/scripts/strings/module.mk	Tue Oct 19 02:22:20 2010 -0400
@@ -27,6 +27,7 @@
   strings/strtrim.m \
   strings/strtrunc.m \
   strings/substr.m \
+  strings/untabify.m \
   strings/validatestring.m
 
 FCN_FILES += $(strings_FCN_FILES)
--- a/scripts/strings/untabify.m	Tue Oct 19 11:46:07 2010 +0800
+++ b/scripts/strings/untabify.m	Tue Oct 19 02:22:20 2010 -0400
@@ -39,7 +39,7 @@
 ## fclose (fid);
 ## fid = fopen ("untabified_script.m", "w");
 ## text = untabify (strsplit (text, "\n"), 8, true);
-## fprintf (fid, "%s\n", text{:});
+## fprintf (fid, "%s\n", text@{:@});
 ## fclose (fid);
 ## @end group
 ## @end example