version 1.1, 1999/12/21 02:47:29 |
version 1.3, 2009/02/22 22:48:15 |
|
|
/* $OpenXM$ */ |
/* $OpenXM: OpenXM/src/asir-doc/extract_man.c,v 1.2 2009/02/22 16:40:05 ohara Exp $ */ |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <string.h> |
#include <string.h> |
|
#include <stdlib.h> |
|
|
|
int |
main(argc,argv) |
main(argc,argv) |
int argc; |
int argc; |
char **argv; |
char **argv; |
|
|
|
|
if ( argc != 3 ) |
if ( argc != 3 ) |
goto usage; |
goto usage; |
if ( !strcmp(argv[1],"JP") ) { |
if ( !strcmp(argv[1],"ja") || !strcmp(argv[1],"JP") ) { |
ok = "\\JP"; |
ok = "\\JP"; |
bok = "\\BJP"; |
bok = "\\BJP"; |
eok = "\\E"; |
eok = "\\E"; |
ng = "\\EG"; |
ng = "\\EG"; |
bng = "\\BEG"; |
bng = "\\BEG"; |
eng = "\\E"; |
eng = "\\E"; |
} else if ( !strcmp(argv[1],"EG") ) { |
} else if ( !strcmp(argv[1],"en") || !strcmp(argv[1],"EG") ) { |
ok = "\\EG"; |
ok = "\\EG"; |
bok = "\\BEG"; |
bok = "\\BEG"; |
eok = "\\E"; |
eok = "\\E"; |