#!/bin/bash # HI-TEC PICC compiler's hexmate under wine: HEXMATE=`ls $HOME/.wine/drive_c/Program\ Files/HI-TECH\ Software/PICC/*/bin/hexmate.exe` exec wine "$HEXMATE" "$@"