1 2 3 4 5 6 7 8 9 10
#!/bin/sh rm -f "$2" if test "$OSTYPE" = msdosdjgpp || test "x$PLATFORM" = xmingw ; then cp "$1" "$2" else ln -s "$1" "$2" fi echo "$2 => $1"