--- In firstname.lastname@example.org
, "Alfred B. Stansbury"
> I am a tech writer, trying to "monkey see, monkey do" my way through
> using a perl search and replace script on cygwin running on xp pro.
> The instructions I found on the net are to unzip some small downloaded
> scripts (one of which is runperl.sh) into the cygwin/bin directory, and
> then type the command runperl.sh at the cygwin command line. When I do
> this, I get the bad interpreter error instead of a description of the
> runperl.sh parameters. I am completely clueless what this might mean,
> or what to do about it.
> One more piece of potentially useful information: I do have Active Perl
> installed in my c:\perl directory.
> Any explanation of what's happening would be welcome, as well as any
> suggestions for next steps.
> Stan Stansbury
You could try:
ls runperl.sh # to ensure you are in the correct dir
chmod a+x runperl.sh # make script executable/runable
./runperl.sh # or: sh ./runperl.sh
In cygwin the 'c:\perl' directory is accessed via '/cygdrive/c/perl'