Loading ...
Sorry, an error occurred while loading the content.
 

Re: bad interpreter: No such file or directory...?

Expand Messages
  • Damien Carbery
    ... 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
    Message 1 of 2 , Jul 26, 2005
      --- In perl-beginner@yahoogroups.com, "Alfred B. Stansbury"
      <abstansbury@y...> wrote:
      > 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.
      >
      > TIA
      >
      > 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'
    Your message has been successfully submitted and would be delivered to recipients shortly.