Re: Question on Perl (.pl) association

2004-03-19 Thread Thorsten Kampe
* Martin Gainty (2004-03-19 15:48 +0100) > I have the greatest respect for the incredible job that the CYGWIN > maintainers have done with BASH shell. According to "/usr/share/doc/Cygwin/bash-2.05b.README" the Cygwin bash is almost plain vanilla. So the Cygwin maintainers have done a terrific job

RE: Question on Perl (.pl) association

2004-03-19 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Martin Gainty > Sent: 19 March 2004 14:49 > But the last time I used a bash shell on a Unix platform I > was able to setup the .pl to perl association I don't believe you. AFAIK Bash has no such feature on any platform. You m

Re: Question on Perl (.pl) association

2004-03-19 Thread Igor Pechtchanski
stenkampede> > To: cygwincom> > Sent: Friday, March 19, 2004 9:39 AM > Subject: Re: Question on Perl (.pl) association > > > > * Igor Pechtchanski (2004-03-17 20:51 +0100) > > > Again, since you have no such restrictions, simply change the '#!' line at

Re: Question on Perl (.pl) association

2004-03-19 Thread Martin Gainty
would prefer to boost to a "must have" feature Vielen Dank, ~Martin~ - Original Message - From: "Thorsten Kampe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 19, 2004 9:39 AM Subject: Re: Question on Perl (.pl) association > * Igor P

Re: Question on Perl (.pl) association

2004-03-19 Thread Thorsten Kampe
* Igor Pechtchanski (2004-03-17 20:51 +0100) > Again, since you have no such restrictions, simply change the '#!' line at > the top of your .pl files to '#!/usr/bin/perl -w' (or add it at the very > top if it isn't there). This should be enough to allow you to invoke .pl > files (or any other file

Re: Re: Question on Perl (.pl) association

2004-03-18 Thread Matthew O. Persico
On Wed, 17 Mar 2004 14:21:52 +0100, Thorsten Kampe wrote: > * Martin Gainty (2004-03-17 12:59 +0100) >> I this solution works on windows > >> But how do we get .pl association with CYGWIN Perl? > > I already answered this question. Let me explain it more simply: it > can't be done with Cygwin; it h

Re: Question on Perl (.pl) association

2004-03-17 Thread David Rayner
ygwin perl passing the argument with .pl extension along as an > argument. > There has to be an easier way. > Thanks, > Martin > - Original Message - > From: "zzapper" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, March 17, 2004 11:5

Re: Question on Perl (.pl) association

2004-03-17 Thread Igor Pechtchanski
in perl passing the argument with .pl extension along as an > argument. > There has to be an easier way. > Thanks, > Martin > > - Original Message - > From: "zzapper" tviscouk> > To: cygwincom> > Sent: Wednesday, March 17, 2004 11:50 AM > Subject: Re: Q

Re: Question on Perl (.pl) association

2004-03-17 Thread Martin Gainty
- From: "zzapper" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 17, 2004 11:50 AM Subject: Re: Question on Perl (.pl) association > Hi, > Currently I'm getting round this by writing a simple wrap for my perl > scripts. I use ActiveState

Re: Question on Perl (.pl) association

2004-03-17 Thread zzapper
On Wed, 17 Mar 2004 12:12:17 -0500 (EST), wrote: >On Wed, 17 Mar 2004, zzapper wrote: > >> >> #!/bin/bash >> # tipftp >> # description :Wrap for tipftp.pl >> c:/usr/local/bin/perl c:/cygwin/usr/local/bin/tipftp.pl >> > >- BEGIN /usr/local/bin/wrap - >#!/b

Re: Question on Perl (.pl) association

2004-03-17 Thread Igor Pechtchanski
On Wed, 17 Mar 2004, zzapper wrote: > Hi, > Currently I'm getting round this by writing a simple wrap for my perl > scripts. I use ActiveState Perl for historical reasons. > > eg > > #!/bin/bash > # tipftp > # description :Wrap for tipftp.pl > c:/usr/local/bin/perl c:/cygwin/usr/local/bin/tipftp.p

Re: Question on Perl (.pl) association

2004-03-17 Thread zzapper
Hi, Currently I'm getting round this by writing a simple wrap for my perl scripts. I use ActiveState Perl for historical reasons. eg #!/bin/bash # tipftp # description :Wrap for tipftp.pl c:/usr/local/bin/perl c:/cygwin/usr/local/bin/tipftp.pl zzapper (vim, cygwin, wiki & zsh) -- vim -c ":%s/^/

Re: Re: Question on Perl (.pl) association

2004-03-17 Thread Thorsten Kampe
* Martin Gainty (2004-03-17 12:59 +0100) > I this solution works on windows > But how do we get .pl association with CYGWIN Perl? I already answered this question. Let me explain it more simply: it can't be done with Cygwin; it has to be done in Windows. It won't benefit you "in Cygwin" (except f

Re: Question on Perl (.pl) association

2004-03-17 Thread Thorsten Kampe
* zzapper (2004-03-17 10:44 +0100) > On Tue, 16 Mar 2004 23:39:58 +0100, wrote: >>* Martin Gainty (2004-03-16 21:56 +0100) >>> How does one associate CYGWIN Perl with .pl extensions within CYGWIN >>> environment? >> >> Same as in the Windows environment: "ftype" in connection with "assoc" >> (or m

Re: Re: Question on Perl (.pl) association

2004-03-17 Thread Martin Gainty
David: I this solution works on windows But how do we get .pl association with CYGWIN Perl? Many Thanks, Martin >From: zzapper <[EMAIL PROTECTED]>> >To: [EMAIL PROTECTED] > >Subject: Re: Question on Perl (.pl) association > >Date: Wed, 17 Mar 2004 09:44:09 + >

Re: Question on Perl (.pl) association

2004-03-17 Thread zzapper
On Tue, 16 Mar 2004 23:39:58 +0100, wrote: >* Martin Gainty (2004-03-16 21:56 +0100) >> How does one associate CYGWIN Perl with .pl extensions within CYGWIN >> environment? > >Same as in the Windows environment: "ftype" in connection with "assoc" >(or more convenient with "associate" from the Res

Re: Question on Perl (.pl) association

2004-03-16 Thread Thorsten Kampe
* Martin Gainty (2004-03-16 21:56 +0100) > How does one associate CYGWIN Perl with .pl extensions within CYGWIN > environment? Same as in the Windows environment: "ftype" in connection with "assoc" (or more convenient with "associate" from the ResourceKit). > When I invoke CYGWIN in order to exec

RE: Question on Perl (.pl) association

2004-03-16 Thread Steve Baldwin
arch 2004 7:57 AM > To: [EMAIL PROTECTED] > Subject: Question on Perl (.pl) association > > > How does one associate CYGWIN Perl with .pl extensions within > CYGWIN environment? When I invoke CYGWIN in order to execute > a Perl Script I need to state perl whatever.pl I would lik

Question on Perl (.pl) association

2004-03-16 Thread Martin Gainty
How does one associate CYGWIN Perl with .pl extensions within CYGWIN environment? When I invoke CYGWIN in order to execute a Perl Script I need to state perl whatever.pl I would like to place an association for .pl to the Cygwin Perl Interpreter so when I invoke whatever.pl the associated Cygwin P