This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Question on Perl (.pl) association
Thorsten (et al):
I have the greatest respect for the incredible job that the CYGWIN
maintainers have done with BASH shell.
But the last time I used a bash shell on a Unix platform I was able to setup
the .pl to perl association but I cannot within CYGWIN..this is a nice to
have feature which I would prefer to boost to a "must have" feature
Vielen Dank,
~Martin~
----- Original Message -----
From: "Thorsten Kampe" <thorsten@thorstenkampe.de>
To: <cygwin@cygwin.com>
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
> > 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 files, for that matter) from Cygwin shells using
perl
> > (after appropriately 'chmod +x'ing them, of course).
>
> Another possibility would be to use a decent shell, hehehe:
>
> ,---
> | New features between zsh versions 4.0 and 4.2
> | ---------------------------------------------
> |
> | Syntax and builtins:
> | - Suffix aliases allow the shell to run a command on a file by suffix,
> | e.g `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied
> | function zsh-mime-setup uses existing mailcap and mime.types files
> | to set up suitable aliases. Supplied function pick-web-browser is
> | suitable for finding a browser to show .html etc. files by suffix
alias.
> `---
>
> Thorsten
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/