Annotation of OpenXM/misc/packages/Windows/debug-tools/debug-sed.c, Revision 1.1
1.1 ! takayama 1: /* $OpenXM$ */
! 2: #include <stdio.h>
! 3: main(int argc, char *argv[]) {
! 4: char path[1024];
! 5: int i,j;
! 6: sprintf(path,"c:\\\\cygwin");
! 7: if (argc > 1) {
! 8: j = strlen(path);
! 9: for (i=0; i<strlen(argv[1]); i++) {
! 10: if (argv[1][i] == '/') {
! 11: path[j] = '\\'; j++;
! 12: path[j] = '\\'; j++; path[j] = 0;
! 13: }else{
! 14: path[j++] = argv[1][i]; path[j]=0;
! 15: }
! 16: }
! 17: }
! 18: printf("s/set HOME=c:\\\\cygwin\\\\home\\\\nobuki//g\n");
! 19: printf("s/set OpenXM_WIN_ROOT=c:\\\\cygwin\\\\home\\\\nobuki\\\\OpenXM\\\\misc\\\\packages\\\\Windows\\\\OpenXM-win/set OpenXM_WIN_ROOT=%s\\\\OpenXM-win/g\n",path);
! 20: printf("s/\\\\src\\\\kan96xx\\\\Kan/\\\\bin/g\n");
! 21: exit(0);
! 22: }
! 23:
! 24:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>