(delete_char): Fix the case of deleting the previous
[m17n/m17n-lib.git] / example / mconv.c
index 7aec262..7a71649 100644 (file)
    02111-1307, USA.  */
 
 /***en
-    @enpage mconv convert file code
+    @enpage m17n-conv convert file code
 
-    @section mconv-synopsis SYNOPSIS
+    @section m17n-conv-synopsis SYNOPSIS
 
-    mconv [ OPTION ... ] [ INFILE [ OUTFILE ] ]
+    m17n-conv [ OPTION ... ] [ INFILE [ OUTFILE ] ]
 
-    @section mconv-description DESCRIPTION
+    @section m17n-conv-description DESCRIPTION
 
     Convert encoding of given files from one to another.
 
     </ul>
 */
 /***ja
-    @japage mconv ¥Õ¥¡¥¤¥ë¤Î¥³¡¼¥É¤òÊÑ´¹¤¹¤ë
+    @japage m17n-conv ¥Õ¥¡¥¤¥ë¤Î¥³¡¼¥É¤òÊÑ´¹¤¹¤ë
 
-    @section mconv-synopsis SYNOPSIS
+    @section m17n-conv-synopsis SYNOPSIS
 
-    mconv [ OPTION ... ] [ INFILE [ OUTFILE ] ]
+    m17n-conv [ OPTION ... ] [ INFILE [ OUTFILE ] ]
 
-    @section mconv-description ÀâÌÀ
+    @section m17n-conv-description ÀâÌÀ
 
     Í¿¤¨¤é¤ì¤¿¥Õ¥¡¥¤¥ë¤Î¥³¡¼¥É¤òÊ̤Τâ¤Î¤ËÊÑ´¹¤¹¤ë¡£ 
 
 #include <m17n.h>
 #include <m17n-misc.h>
 
-#define VERSION "1.0"
+#define VERSION "1.2.0"
 
 /* Print all coding system names.  */
 
@@ -314,7 +314,7 @@ main (int argc, char **argv)
        help_exit (argv[0], 0);
       else if (! strcmp (argv[i], "--version"))
        {
-         printf ("mconv (m17n library) %s\n", VERSION);
+         printf ("m17n-conv (m17n library) %s\n", VERSION);
          printf ("Copyright (C) 2003 AIST, JAPAN\n");
          exit (0);
        }