This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Greetings, All! I was using a simple [C:\]$ ftype unixshell.script unixshell.script="C:\Programs\Cygwin\bin\env.exe" "%1" %* association to run Cygwin scripts, until I've discovered, that, say, gawk is unable to digest native path to script. Had to thinker around it, but original idea to have native batch file was unsuccessful. Probably because of local issues, but I wanted to run that AWK script... So I came up with a Cygwin wrapper and expanded association: [C:\]$ ftype unixshell.script unixshell.script="C:\Programs\Cygwin\bin\env.exe" /bin/cygwrap.sh "%1" %* -- WBR, Andrey Repin (anrdaemon@yandex.ru) 06.11.2013, <20:54> Sorry for my terrible english...
Attachment:
cygwrap.sh
Description: Binary data
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |