=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/Kan/shell.c,v retrieving revision 1.13 retrieving revision 1.16 diff -u -p -r1.13 -r1.16 --- OpenXM/src/kan96xx/Kan/shell.c 2005/06/16 05:07:23 1.13 +++ OpenXM/src/kan96xx/Kan/shell.c 2013/09/20 06:02:19 1.16 @@ -1,5 +1,6 @@ -/* $OpenXM: OpenXM/src/kan96xx/Kan/shell.c,v 1.12 2004/10/14 10:08:09 takayama Exp $ */ +/* $OpenXM: OpenXM/src/kan96xx/Kan/shell.c,v 1.15 2012/10/29 02:51:41 takayama Exp $ */ #include +#include #include #include #include @@ -83,7 +84,9 @@ void KoxShellHelp(char *key,FILE *fp) { s[1] = "cmdname arg1 arg2 ... "; s[2] = "Example 1: /afo (Hello! ) def [(cat) (stringIn://afo)] oxshell"; s[3] = "Example 2: [(polymake) (stringInOut://afo.poly) (FACETS)] oxshell"; - s[4] = NULL; + s[4] = "A temporary file afo.poly* with the contents of the variable afo.poly is generated under $TMP and \"polymake $TMP FACETS\" will be executed. cf. kan96xx/trans/doPolymake.sm1, Doc/oxshell.oxw, Doc/changelog-ja.tex"; + s[5] = "Example 3: [(ls) (-l) (>) (stringOut://ff)] oxshell"; + s[6] = NULL; }else if (strcmp(key,"redirect")==0) { s[0] = "The following redirect operators are implemented."; s[1] = "< > 2>"; @@ -96,7 +99,8 @@ void KoxShellHelp(char *key,FILE *fp) { }else if (strcmp(key,"keep_tmp_files")==0) { s[0] = "keep_tmp_files value"; s[1] = "If value is zero, then temporary files are removed after execution."; - s[2] = NULL; + s[2] = "Example 1: [(keep_tmp_files) (1)] oxshell ; temporary files will be kept in /tmp or $TMP or ..."; + s[3] = NULL; }else{ } i = 0;