1 2 3 4 5
#!/bin/sh [[ "$1" =~ .*.exe$ ]] || { echo "ERROR"; exit -1; } env LOCPATH=$HOME/.wine/locale-ja/ LANG=ja_JP.SJIS wine "$1"