>>311

$ cat hoge
#!/bin/sh
echo $0

$ ./hoge
./hoge


結論: $0 でシェルはわからない