Re: windows paths in shebang lines

2011-01-26 Thread Christopher Faylor
On Sun, Jan 23, 2011 at 10:26:15PM -0500, Rafael Kitover wrote: >msys seems to do something special for this to work correctly, it also >seems to translate its paths to windows paths when running windows >executables automatically, a very nice feature. Command line munging is a nice feature if you

Re: windows paths in shebang lines

2011-01-25 Thread Andrew DeFaria
On 01/25/2011 02:05 PM, Maurice Mengel wrote: There could a few good reasons to prefer Perl/ActiveState over Perl/cygwin, That's one reason why I was asking Rafael - what was his good reasons. I know of a number of good reasons to favor Cygwin's Perl (and one would be not to have to deal with

Re: windows paths in shebang lines

2011-01-25 Thread Maurice Mengel
There could a few good reasons to prefer Perl/ActiveState over Perl/cygwin, but then this would still be the wrong list. I hear that ActiveState has good support. BTW: I don't remember how I did that when I last tried to work with Perl/ActiveState (in WinNT times). There were several solutions an

Re: windows paths in shebang lines

2011-01-25 Thread Andrew DeFaria
On 01/25/2011 08:50 AM, Rafael Kitover wrote: Now I just need to convince activestate to use proper shebang lines instead of #!/usr/bin/perl . Again I query - why use ActiveState Perl instead of just Cygwin's own Perl? -- Andrew DeFaria Can you sentence a homeless man to ho

Re: windows paths in shebang lines

2011-01-25 Thread Rafael Kitover
On 1/23/2011 10:26 PM, Rafael Kitover wrote: On 1/23/2011 5:59 PM, Jeremy Bopp wrote: On 01/23/2011 03:47 PM, Rafael Kitover wrote: When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ack #!C:\Per

Re: windows paths in shebang lines

2011-01-23 Thread Rafael Kitover
On 1/23/2011 6:12 PM, Andrew DeFaria wrote: On 01/23/2011 05:59 PM, Jeremy Bopp wrote: On 01/23/2011 03:47 PM, Rafael Kitover wrote: When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ack #!C:\Pe

Re: windows paths in shebang lines

2011-01-23 Thread Rafael Kitover
On 1/23/2011 5:59 PM, Jeremy Bopp wrote: On 01/23/2011 03:47 PM, Rafael Kitover wrote: When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ack #!C:\Perl64\bin\perl rkitover@eeebox ~ $ /cygdrive/c/

Re: windows paths in shebang lines

2011-01-23 Thread Andrew DeFaria
On 01/23/2011 05:59 PM, Jeremy Bopp wrote: On 01/23/2011 03:47 PM, Rafael Kitover wrote: When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ack #!C:\Perl64\bin\perl rkitover@eeebox ~ $ /cygdrive

Re: windows paths in shebang lines

2011-01-23 Thread Jeremy Bopp
On 01/23/2011 03:47 PM, Rafael Kitover wrote: > When a script's shebang line has a windows path, rather than a cygwin > path, it does not work: > > rkitover@eeebox ~ > $ head -1 /cygdrive/c/Perl64/site/bin/ack > #!C:\Perl64\bin\perl > > rkitover@eeebox ~ > $ /cygdrive/c/Perl64/site/bin/ack --vers