Annotation of parser3/tests/cat-windows.sh, revision 1.1
1.1 ! moko 1: #!c:\cygwin\bin\sh.exe
! 2:
! 3: if [ $1 = "halt" ]
! 4: then
! 5: exit $2
! 6: fi
! 7:
! 8: if [ $1 = "stdin" ]
! 9: then
! 10: c:/cygwin/bin/cat.exe
! 11: exit 0
! 12: fi
! 13:
! 14: if [ $1 = "cgi" ]
! 15: then
! 16: echo "content-type: $2
! 17: "
! 18: fi
! 19:
! 20: if [ -n "$5" ]
! 21: then
! 22: echo "$5"
! 23: fi
! 24:
! 25: c:/cygwin/bin/cat.exe -s $3
! 26:
! 27: if [ -n "$4" ]
! 28: then
! 29: exit $4
! 30: fi
! 31:
E-mail: