jelang wrote:
> the following script which works like a charm:
> #!/bin/bash
>
> kate $(echo "${1}" | sed \
> -e 's+[cC]:\\+'$HOME'\/\.wine\/drive_c\/+' \
> -e 's+\\+/+g')
RTFM my friend. Wine has 'winepath' program for that. Which actually works in all cases. http://wiki.winehq.org/winepath