irus
10/09/2017, 1:05 PMyoda@xps15:16:05:~$ which kobaltw
/home/yoda/opt/kobalt/bin/kobaltw
yoda@xps15:16:05:~$ cat /home/yoda/opt/kobalt/bin/kobaltw
#!/usr/bin/env sh
case "$(uname)" in
CYGWIN*) DIRNAME=$(cygpath -d "$(dirname "$(readlink -f "$0")")");;
Darwin*) DIRNAME=$(dirname "$(readlink "$0")");;
*) DIRNAME=$(dirname "$(readlink -f "$0")");;
esac
if [ "$DIRNAME" = "." ]; then
DIRNAME="$(dirname "$0")"
fi
java -jar "${DIRNAME}/../kobalt/wrapper/kobalt-wrapper.jar" $*yoda@xps15:16:05:~$
yoda@xps15:16:05:~$ kobaltw
/usr/bin/env: ‘sh\r’: No such file or directory
yoda@xps15:16:05:~$