Small wrapper to start Cygwin scripts by unix name
Andrey Repin
anrdaemon@yandex.ru
Wed Nov 6 17:20:00 GMT 2013
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...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwrap.sh
Type: application/octet-stream
Size: 147 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20131106/8767ba86/attachment.obj>
-------------- next part --------------
--
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
More information about the Cygwin
mailing list